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 = {
enable = isMaximal;
programmingWordlist.enable = isMaximal;
};
lsp = {

View file

@ -34,7 +34,7 @@
"rich-presence"
"session"
"snippets"
"spellcheck"
# "spellcheck" # FIXME: see neovim/init/spellcheck.nix
"statusline"
"tabline"
"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 ''
vim-dirtytalk, a wordlist for programmers containing
common programming terms.
@ -50,6 +54,7 @@ in {
Setting this value as `true` has the same effect
as setting {option}`vim.spellCheck.enable`
'';
*/
};
config = mkIf cfg.enable {