From 03519583742bfe2c2a41ac4058d77dd0358aa3af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 17 Feb 2022 19:40:45 +0300 Subject: C indentation rules Don't indent case statements; don't indent scoped case statements. --- dotfiles/.config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) 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 indentation rules + set cino=:0l0 + " For project-specific configuration set exrc set secure -- cgit v1.2.3