From 5be28b2e7a204cfbc1fcf8623cfef09109a6bb3a Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 22 Sep 2024 05:05:18 +0200 Subject: Cleanup --- vimrc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vimrc b/vimrc index dbabcba..a498b84 100644 --- a/vimrc +++ b/vimrc @@ -11,9 +11,6 @@ set path+=** gp=grep\ -irn filetype plugin indent on syntax enable -" Disable auto-formatting for Zig files. -let g:zig_fmt_autosave = 0 - nnoremap :bnext nnoremap :bprevious nnoremap :buffers:buffer @@ -24,10 +21,6 @@ autocmd Filetype make,go,sh setlocal noexpandtab tabstop=4 shiftwidth=4 autocmd Filetype c,cpp,zig setlocal expandtab tabstop=4 shiftwidth=4 autocmd Filetype lua,nix,html,xml,javascript,css setlocal expandtab tabstop=2 shiftwidth=2 -" External auto-formatters. -autocmd FileType c,cpp setlocal formatprg=clang-format -autocmd FileType go setlocal formatprg=gofmt - " Code commenting - https://stackoverflow.com/a/1676672. augroup CodeCommenting autocmd! -- cgit v1.2.3