From 531695c2780d0aaa546529c6310c783e688147fa Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 1 Apr 2024 14:13:25 +0100 Subject: Fix for go filetype --- vim/vimrc | 4 ++-- 1 file 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 {{{ -- cgit v1.2.3