From 6b0c7ef834b11a04ea27b7117eb3bb1f0ada7b3b Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Sun, 18 Aug 2024 22:53:11 -0600 Subject: [PATCH] go --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index af9aeed..716ad8f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -87,6 +87,9 @@ nnoremap :make autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ % autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ % +" Go +autocmd FileType go setlocal tabstop=8 shiftwidth=8 noexpandtab + " groff autocmd FileType troff noremap :!zathura --fork %:r.pdf & disown autocmd FileType troff noremap :w :!grofftex %