aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index d7ec10c..b69193d 100644
--- a/vimrc
+++ b/vimrc
@@ -19,7 +19,7 @@ nnoremap <C-q> :copen<cr>
19" Personal tabs/spaces settings. 19" Personal tabs/spaces settings.
20autocmd Filetype make,go,sh setlocal noexpandtab tabstop=4 shiftwidth=4 20autocmd Filetype make,go,sh setlocal noexpandtab tabstop=4 shiftwidth=4
21autocmd Filetype c,cpp,zig setlocal expandtab tabstop=4 shiftwidth=4 21autocmd Filetype c,cpp,zig setlocal expandtab tabstop=4 shiftwidth=4
22autocmd Filetype lua,nix,html,javascript,css setlocal expandtab tabstop=2 shiftwidth=2 22autocmd Filetype lua,nix,html,xml,javascript,css setlocal expandtab tabstop=2 shiftwidth=2
23 23
24" External auto-formatters. 24" External auto-formatters.
25autocmd FileType c,cpp setlocal formatprg=clang-format 25autocmd FileType c,cpp setlocal formatprg=clang-format