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