aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-17 14:08:31 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-17 17:01:01 +0000
commitb1f6e00b608c45ee705fa235dee864e5cdcbf474 (patch)
tree6bf36bd7e6ccfebc0d50c90e7412fcaadd74e8e1 /vim
parentc128f5ce927389c1614ec82aa9e3c1eca0678d15 (diff)
8 space tabs for go
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 319ffd9..6f74746 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -355,6 +355,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()