diff --git a/vim/.vimrc b/vim/.vimrc index 7d88d36..7685d4b 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -110,7 +110,7 @@ au FileType * setlocal indentexpr= au FileType go setlocal makeprg=go noexpandtab au FileType lua setlocal noexpandtab au FileType c setlocal noexpandtab -au GoCtags +augroup GoCtags autocmd! autocmd FileType go nnoremap ,ct :!ctags -R $(go env GOROOT) . augroup END