mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
neovim/spellcheck: disable programming wordlist
errors as it cannot download its spellfile. needs to be fixed
This commit is contained in:
parent
aaf286dce4
commit
1740b437c0
3 changed files with 6 additions and 2 deletions
|
@ -31,7 +31,6 @@ inputs: let
|
||||||
|
|
||||||
spellcheck = {
|
spellcheck = {
|
||||||
enable = isMaximal;
|
enable = isMaximal;
|
||||||
programmingWordlist.enable = isMaximal;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
lsp = {
|
lsp = {
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
"rich-presence"
|
"rich-presence"
|
||||||
"session"
|
"session"
|
||||||
"snippets"
|
"snippets"
|
||||||
"spellcheck"
|
# "spellcheck" # FIXME: see neovim/init/spellcheck.nix
|
||||||
"statusline"
|
"statusline"
|
||||||
"tabline"
|
"tabline"
|
||||||
"terminal"
|
"terminal"
|
||||||
|
|
|
@ -43,6 +43,10 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
# FIXME: This needs to be revisited. It tries to install
|
||||||
|
# the spellfile to an user directory, but it cannot do so
|
||||||
|
# as we sanitize runtime paths.
|
||||||
programmingWordlist.enable = mkEnableOption ''
|
programmingWordlist.enable = mkEnableOption ''
|
||||||
vim-dirtytalk, a wordlist for programmers containing
|
vim-dirtytalk, a wordlist for programmers containing
|
||||||
common programming terms.
|
common programming terms.
|
||||||
|
@ -50,6 +54,7 @@ in {
|
||||||
Setting this value as `true` has the same effect
|
Setting this value as `true` has the same effect
|
||||||
as setting {option}`vim.spellCheck.enable`
|
as setting {option}`vim.spellCheck.enable`
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
Loading…
Reference in a new issue