From ff1ce6fc6e385b6ce2b0d468ceb6f7f5d93f8bc5 Mon Sep 17 00:00:00 2001 From: tavo Date: Thu, 5 Sep 2024 22:02:06 -0600 Subject: [PATCH] Go --- git/config | 2 +- vim/after/ftplugin/go.vim | 3 +++ vim/vimrc | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 vim/after/ftplugin/go.vim diff --git a/git/config b/git/config index 3392b35..478fd29 100644 --- a/git/config +++ b/git/config @@ -1,3 +1,3 @@ [user] email = tavo@tavo.one - name = tavo-wasd + name = tavo diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim new file mode 100644 index 0000000..442ec6c --- /dev/null +++ b/vim/after/ftplugin/go.vim @@ -0,0 +1,3 @@ +set colorcolumn=81 +set shiftwidth=8 +set noexpandtab diff --git a/vim/vimrc b/vim/vimrc index 7e147c4..86b70bb 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -89,9 +89,6 @@ 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 %