aboutsummaryrefslogtreecommitdiffstats
path: root/home/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'home/nvim')
-rw-r--r--home/nvim/default.nix3
-rw-r--r--home/nvim/lsp.lua2
2 files changed, 4 insertions, 1 deletions
diff --git a/home/nvim/default.nix b/home/nvim/default.nix
index 879ce78..efb19b4 100644
--- a/home/nvim/default.nix
+++ b/home/nvim/default.nix
@@ -51,7 +51,10 @@
texlab # latex lsp
tree-sitter # generate tree-sitter grammars
ty # python type checker written in rust
+ vale # spellcheck
vale-ls # prose (md, asciidoc)
+ valeStyles.microsoft # spellcheck linters
+ valeStyles.write-good # spellcheck linters
];
extraPython3Packages = ps: [
diff --git a/home/nvim/lsp.lua b/home/nvim/lsp.lua
index 36849fb..7e124bd 100644
--- a/home/nvim/lsp.lua
+++ b/home/nvim/lsp.lua
@@ -214,7 +214,7 @@ vim.lsp.config("clangd", {
vim.lsp.config("vale_ls", {
cmd = { "vale-ls" },
- filetypes = { "markdown", "text", "tex", "rst", "adoc", "asciidoc" },
+ filetypes = { "markdown", "text", "tex", "rst", "adoc", "asciidoc", "html" },
root_markers = { ".vale.ini" },
})