mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
Merge pull request #991 from lackac/spellcheck-restore-programming-wordlist
spellcheck: restore configuration for vim-dirtytalk
This commit is contained in:
commit
5d607f3aef
5 changed files with 6 additions and 4 deletions
|
@ -15,6 +15,7 @@ isMaximal: {
|
||||||
|
|
||||||
spellcheck = {
|
spellcheck = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
programmingWordlist.enable = isMaximal;
|
||||||
};
|
};
|
||||||
|
|
||||||
lsp = {
|
lsp = {
|
||||||
|
|
|
@ -435,8 +435,7 @@
|
||||||
[smart-splits.nvim]: https://github.com/mrjones2014/smart-splits.nvim
|
[smart-splits.nvim]: https://github.com/mrjones2014/smart-splits.nvim
|
||||||
|
|
||||||
- Add [solarized.nvim] theme with support for multiple variants
|
- Add [solarized.nvim] theme with support for multiple variants
|
||||||
|
|
||||||
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
|
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
|
||||||
Available at `vim.utility.smart-splits`.
|
Available at `vim.utility.smart-splits`.
|
||||||
|
- Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated config.
|
||||||
- Fix lualine separator options
|
- Fix lualine separator options
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"runner"
|
"runner"
|
||||||
"session"
|
"session"
|
||||||
"snippets"
|
"snippets"
|
||||||
# "spellcheck" # FIXME: see neovim/init/spellcheck.nix
|
"spellcheck"
|
||||||
"statusline"
|
"statusline"
|
||||||
"tabline"
|
"tabline"
|
||||||
"terminal"
|
"terminal"
|
||||||
|
|
|
@ -94,6 +94,8 @@ in {
|
||||||
Enabling this option will unconditionally set
|
Enabling this option will unconditionally set
|
||||||
{option}`vim.spellcheck.enable` to true as vim-dirtytalk
|
{option}`vim.spellcheck.enable` to true as vim-dirtytalk
|
||||||
depends on spellchecking having been set up.
|
depends on spellchecking having been set up.
|
||||||
|
|
||||||
|
Run {command}`:DirtytalkUpdate` on first use to download the spellfile.
|
||||||
:::
|
:::
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,7 @@ in {
|
||||||
# like to append programming to spelllangs as soon as
|
# like to append programming to spelllangs as soon as
|
||||||
# possible while the plugin is enabled and the state
|
# possible while the plugin is enabled and the state
|
||||||
# directory can be found.
|
# directory can be found.
|
||||||
pluginRC.vim-dirtytalk = entryAfter ["spellcheck"] ''
|
luaConfigRC.vim-dirtytalk = entryAfter ["spellcheck"] ''
|
||||||
-- If Neovim can find (or access) the state directory
|
-- If Neovim can find (or access) the state directory
|
||||||
-- then append "programming" wordlist from vim-dirtytalk
|
-- then append "programming" wordlist from vim-dirtytalk
|
||||||
-- to spelllang table. If path cannot be found, display
|
-- to spelllang table. If path cannot be found, display
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue