aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-08-04 23:34:00 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-08-04 23:34:00 +0200
commitb910bec6252cdc3886cce140f175e3f48e9a62e0 (patch)
treef5a2c4219e8e096e731d4a27d6ce484f4cfb1aa4 /vimrc
parent8695cc64dc5778b46fcbe6c5f3c3a960665f33d4 (diff)
downloaddotfiles-b910bec6252cdc3886cce140f175e3f48e9a62e0.tar.gz
Update
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