neovim/spellcheck: disable programming wordlist

errors as it cannot download its spellfile. needs to be fixed
This commit is contained in:
NotAShelf 2024-04-27 16:22:42 +03:00
parent aaf286dce4
commit 1740b437c0
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
3 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,6 @@ inputs: let
spellcheck = { spellcheck = {
enable = isMaximal; enable = isMaximal;
programmingWordlist.enable = isMaximal;
}; };
lsp = { lsp = {

View File

@ -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"

View File

@ -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 {