diff --git a/configuration.nix b/configuration.nix index 8616bc1..268769c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -31,7 +31,6 @@ inputs: let spellcheck = { enable = isMaximal; - programmingWordlist.enable = isMaximal; }; lsp = { diff --git a/modules/modules.nix b/modules/modules.nix index 22bc84a..620111f 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -34,7 +34,7 @@ "rich-presence" "session" "snippets" - "spellcheck" + # "spellcheck" # FIXME: see neovim/init/spellcheck.nix "statusline" "tabline" "terminal" diff --git a/modules/neovim/init/spellcheck.nix b/modules/neovim/init/spellcheck.nix index 7a41f25..d8957ef 100644 --- a/modules/neovim/init/spellcheck.nix +++ b/modules/neovim/init/spellcheck.nix @@ -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 {