aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-17 19:40:45 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-17 19:40:45 +0300
commit03519583742bfe2c2a41ac4058d77dd0358aa3af (patch)
treed8ef7ab0cb0b18d053b38c547a91f51c48cf22a3 /dotfiles/.config/nvim
parent909935f44c88e37ccedb80c972c59b898872a051 (diff)
downloadvimrice-03519583742bfe2c2a41ac4058d77dd0358aa3af.tar.gz
vimrice-03519583742bfe2c2a41ac4058d77dd0358aa3af.zip
C indentation rules
Don't indent case statements; don't indent scoped case statements.
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index f0c36be..cd19e3b 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -251,6 +251,9 @@ call plug#end()
autocmd FileType markdown setlocal spell spelllang=en_us,es,ru tw=80 |
\ let b:SuperTabContextDefaultCompletionType = "<c-p>"
+" C indentation rules
+ set cino=:0l0
+
" For project-specific configuration
set exrc
set secure