aboutsummaryrefslogtreecommitdiffstats
path: root/home/nvim
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-02-09 14:45:15 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-02-09 14:45:15 +0200
commit3fcdcad3f3321b97ff795bb836a41ea1b9c0a45d (patch)
tree4b936b8c4cc30b3c439c30bf3e71b8104ec0b94d /home/nvim
parentcff74b75db1cb70839c48f2ef565c95acef537fa (diff)
downloadnixos-3fcdcad3f3321b97ff795bb836a41ea1b9c0a45d.tar.zst
Move vale to nvim config
Diffstat (limited to '')
-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" },
})