This release allows to skip entire tokens while processing text files.
See skyspell_core changelog for details.
Also, you must press 'g' instead of 'a' when using the interactive checker to add a word to the global ignore list.
Fix help message when using the interactive checker.
Also, bump skyspell_core
to 4.0.1, which allows using the same config files from Unix and Windows.
Bump skyspell_core
to 4.0.0
This release adds support for Windows.
See skyspell_core changelog for details.
Breaking: The --lang
option is now required. Note that for "English US", it should look like
--lang=en_US
if using Enchant (on Unix), or just --lang=en
on Windows.
- Fix crate metadata
- Bump
dialoguer
dependency
See skyspell_core changelog.
- Bump
skyspell_core
to v2.0.0
- Bump dependencies
- Update metadata
See skyspell_core changelog.
The --project-path
option must use right before the action.
Also, to add or ignore a rule for a project, use the boolean --project
option
Before skyspell 1.0
# Add bar as a ignored word for the project in /path/to/foo
skyspell add --project-path /path/to/foo bar
# Add baz to the global ignore list:
skyspell add baz
After skyspell 1.0
# Add bar as a ignored word for the project in /path/to/foo
skyspell --project-path /path/to/bar add bar --project
# Add baz to the global ignore list:
skyspell --project-path add baz --project
In this version, the skyspell-ignore.kdl
file in the current working
directory will be parsed, because we need to know if we need to store
baz in a sqlite or in the configuration file, which is why both
--project-path
and --project
need to be used.
- Handle Python string prefixes, like in
f'input
Remove "skip" features from the SQL repository and from the command line.
Instead of telling skyspell to skip poetry.lock
, Cargo.lock
and
favicon.ico
, you can just create a file named .skyspell-ignore
containing:
*.lock
favicon.ico
This makes the code much faster because we don't need to make a sql query for each file we check, just when we find a spelling error.
This also means you can run skyspell-check
without specifying the files to check:
# old:
$ skyspell check --project-path . $(git ls-files)
# new:
$ skyspell check --project-path .
Or even without specifying --project-path
at all, which defaults to the
current working directory.
- Remove
--aspell
option andaspell
support. Additional complexity to avoid going through Enchant does not seems worth it. - Tweak skyspell cli output
- Breaking Split code into separate crates. This means you now need to install
skyspell_kak
in order to use the Kakoune integration. - Breaking Remove
skyspell_underline_errors
option. We now use a specific SellingError face and users can change the default value if needed.
- Use
kak_quoted_buflist
instead ofkak_buflist
- Bump to clap 3.0
- Switch from
chrono
totime
- Bump to Rust 2021 edition
- Fix splitting text in tokens when an abbreviation is in the middle of the identifier
- Fix when using latest Kakoune
- Improve error message when trying to spell check binary files
- Breaking: The
SKYSPELL_DB_PATH
environment variable is no longer taken into account - Breaking: Change syntax for kakoune integration:
evaluate-commands %sh{
- skyspell kak init
+ skyspell-kak init # < note the '-' instead of the space
}
- Better error message when files contain invalid UTF-8 data
- Add option
skyspell_underline_errors
: to use curly underline red for spelling errors. Requires kakoune > 2021.08.28 (after this commit
- Implement "undo" for the interactive checker
- Improve performance
- Improve error handling
- Improve test coverage
- Properly parse "doesn't", "it's" and the like
- Fix bug regarding case sensitivity
- Be a bit more verbose when spell checking a project
- When trying to remove items from the repository, tell user if the item was already absent instead of silently doing nothing.
- Add end-to-end testing using kitty's remote protocol and pytest
- Display errors in the status bar
- Display an error message when no suggestions are found
- Tell user when they are calling
suggest
and the selection is not an error - Tell user when the selection is blank
- Add
undo
hook for the*spelling*
buffer
- File paths are now relative to the project root
- You can ignore words for a given project instead of globally
- Allow to unskip paths and file names
- Better handling of
\
in source files
- Use
a
to add to global ignore instead ofg
(it breaksga
) - Check all open buffers, not just the current one
- Implement
next
andprevious
- Use a
kak
subcommand instead of guessing whether we are called from Kakoune.
Fix project metadata
- Allow adding words to a global ignore list or by extension
- Add a non-interactive mode
- Allow to skip file names or file paths
- Check for good words with Enchant
- Support languages other than English
- Add support for suggestions
- Add Kakoune integration
Initial release