aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim/init.vim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-08-11 02:20:08 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-08-11 02:20:08 +0300
commit618217d190955d7bbe14c34375f596dc0aa86014 (patch)
treef90beae722640238468378db5c2f2797641f4720 /dotfiles/.config/nvim/init.vim
parentc84f10f37e2641c7a0da38bd8375dd0395e3a890 (diff)
downloadvimrice-618217d190955d7bbe14c34375f596dc0aa86014.tar.gz
vimrice-618217d190955d7bbe14c34375f596dc0aa86014.zip
zig: turn off retarded autofmt default
Who thought this was a good idea?
Diffstat (limited to 'dotfiles/.config/nvim/init.vim')
-rw-r--r--dotfiles/.config/nvim/init.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index ff48a91..99aad12 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -301,6 +301,8 @@ call plug#end()
\ let b:SuperTabContextDefaultCompletionType = "<c-p>"
autocmd FileType text,tex,markdown,html,rst setlocal spell spelllang=en_us,es,ru tw=80 |
\ let b:SuperTabContextDefaultCompletionType = "<c-p>"
+ " Having this on is a retarded default
+ let g:zig_fmt_autosave = 0
" C indentation rules
set cino=:0l1