aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/nvim/init.vim9
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