summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-08 08:29:50 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-08 08:29:50 +0100
commitb3ba2a47597c3b32452c702af59a53bbc5361fdb (patch)
tree02a7d2992fb89c3aa9010399050f08af1fb6f41d
parenta4226e807d5585a3c74ea4aab22cc22e1948ebc3 (diff)
Fixes vim Go tabs/spaces issue
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 50fe698..1ee1c31 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -364,10 +364,10 @@ augroup END
" Golang {{{
augroup golang
autocmd!
- au BufReadPre,BufReadPost *.go
+ autocmd FileType go
\ set tabstop=8 |
\ set softtabstop=8 |
- \ set shiftwidth=8 |
+ \ set shiftwidth=8
augroup END
" }}}
" GitFZF {{{