diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-02-28 15:23:48 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-02-28 15:23:48 +0300 |
commit | 3424b7a3bf10ab271dd6c88b07846b0400f66d87 (patch) | |
tree | bc12b295c69b52fb3f394ea548103f26c0bf75fe /dotfiles/.config/nvim | |
parent | a16a555d21f48ee8833c4083b366585f1cd3c290 (diff) | |
download | vimrice-3424b7a3bf10ab271dd6c88b07846b0400f66d87.tar.gz vimrice-3424b7a3bf10ab271dd6c88b07846b0400f66d87.zip |
spell checker: turn on for RST and HTML
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 1e78846..2189149 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -299,15 +299,10 @@ call plug#end() " MFing neovim overrding my omnifunc with whatever ccomplete is autocmd FileType c,ch,header,cpp setlocal omnifunc=v:lua.vim.lsp.omnifunc fdm=syntax " No, Rust, spaces is not superior to tabs, 100 lines is too much - autocmd FileType rust setlocal noet ci pi sts=0 ts=4 sw=4 tw=80 - autocmd FileType meson setlocal noet ci pi sts=0 ts=4 sw=4 tw=80 - autocmd FileType tex setlocal spell spelllang=en_us,es,ru tw=80 | - \ let b:SuperTabContextDefaultCompletionType = "<c-p>" - autocmd FileType text setlocal spell spelllang=en_us,es,ru tw=80 | - \ let b:SuperTabContextDefaultCompletionType = "<c-p>" + autocmd FileType rust, meson setlocal noet ci pi sts=0 ts=4 sw=4 tw=80 autocmd FileType mail setlocal spell spelllang=en_us,es,ru tw=72 | \ let b:SuperTabContextDefaultCompletionType = "<c-p>" - autocmd FileType markdown setlocal spell spelllang=en_us,es,ru tw=80 | + autocmd FileType text,tex,markdown,html,rst setlocal spell spelllang=en_us,es,ru tw=80 | \ let b:SuperTabContextDefaultCompletionType = "<c-p>" " C indentation rules |