commit 7837e676f40d444e5e6d218158c8373bf3042c85
parent cd5d743aeaecd49a045eba394e30dd9c7a401665
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Thu, 24 Sep 2020 19:54:13 +0200
Use tabs instead of spaces when programming in C
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -110,6 +110,7 @@ autocmd FileType markdown,vimwiki,mail set formatoptions+=t " break lines when
autocmd FileType markdown,vimwiki set tabstop=2 " number of spaces when tab is pressed
autocmd FileType markdown,vimwiki set shiftwidth=2 " number of spaces for indentation
autocmd FileType mail set textwidth=72
+autocmd FileType c set noexpandtab
" /change default behaviours }}}