diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-17 13:53:43 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-17 13:53:43 +0000 |
commit | 39be46917b141e425db041b470626e9eed0ce4e7 (patch) | |
tree | c5453c8dea0a8406f0617505dfb2e4c16c51834f /vim | |
parent | 741a0200906f1eddc94ea01fd4e096549940f56f (diff) |
Tabs are 8 spaces in vim for Go files
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -354,6 +354,15 @@ augroup encrypted \ setlocal nobin augroup END " }}} +" Golang {{{ +augroup golang + autocmd! + au BufReadPre,BufReadPost *.go + \ set tabstop=8 | + \ set softtabstop=8 | + \ set shiftwidth=8 | +augroup END +" }}} " GitFZF {{{ " from https://git.sr.ht/~sircmpwn/dotfiles/tree/master/item/.vimrc function! GitFZF() |