From 3424b7a3bf10ab271dd6c88b07846b0400f66d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 28 Feb 2024 15:23:48 +0300 Subject: spell checker: turn on for RST and HTML --- dotfiles/.config/nvim/init.vim | 9 ++------- 1 file 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 = "" - autocmd FileType text setlocal spell spelllang=en_us,es,ru tw=80 | - \ let b:SuperTabContextDefaultCompletionType = "" + 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 = "" - 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 indentation rules -- cgit v1.2.3