summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-01 14:13:25 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-01 14:13:25 +0100
commit531695c2780d0aaa546529c6310c783e688147fa (patch)
treed0d7205302f321380518d59a55766ca0cdee05fa
parent38006d183970d3612159277cf31c76e58eba70c5 (diff)
Fix for go filetype
-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 {{{