Compare commits

...

3 commits

Author SHA1 Message Date
Daniel Siepmann 349d6db1f9
Improve spellcheck in neovim
Turn it off by default as too many buffers won't need it.
Instead enable explicitly for expected buffers.
2024-02-28 12:18:58 +01:00
Daniel Siepmann 83a2b5aeeb
Fix wrong configuration of shellcheck executable 2024-02-28 12:18:47 +01:00
Daniel Siepmann 9dc4230d85
Fix broken treesitter integration for vim help files
See: https://github.com/NixOS/nixpkgs/issues/282927
2024-02-28 12:17:56 +01:00
4 changed files with 7 additions and 2 deletions

View file

@ -327,6 +327,7 @@ in {
sql
typescript
vim
vimdoc
yaml
]);
type = "lua";
@ -361,7 +362,7 @@ in {
let g:ale_gitcommit_gitlint_executable = '${pkgs.gitlint}/bin/gitlint'
let g:ale_nix_statix_check_executable = '${pkgs.statix}/bin/statix'
let g:ale_languagetool_executable = '${pkgs.languagetool}/bin/languagetool-commandline'
let g:ale_rstcheck_executable = '${pkgs.rstcheck}/bin/rstcheck'
let g:ale_sh_shellcheck_executable = '${pkgs.shellcheck}/bin/shellcheck'
'';
}

View file

@ -1 +1,4 @@
syn spell toplevel
setlocal spell
setlocal commentstring=//\ %s

View file

@ -1,5 +1,6 @@
syn spell toplevel
setlocal spell
setlocal commentstring=//\ %s
setlocal foldmethod=indent
setlocal omnifunc=v:lua.vim.lsp.omnifunc

View file

@ -1 +1 @@
set spell spelllang=en spelloptions+=camel
set nospell spelllang=en spelloptions+=camel