Go
This commit is contained in:
parent
63d756c906
commit
ff1ce6fc6e
3 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
[user]
|
||||
email = tavo@tavo.one
|
||||
name = tavo-wasd
|
||||
name = tavo
|
||||
|
|
3
vim/after/ftplugin/go.vim
Normal file
3
vim/after/ftplugin/go.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set colorcolumn=81
|
||||
set shiftwidth=8
|
||||
set noexpandtab
|
|
@ -89,9 +89,6 @@ nnoremap <F9> :make<CR><CR>
|
|||
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 <buffer> <silent> <F9> :!zathura --fork %:r.pdf<CR> & disown
|
||||
autocmd FileType troff noremap <buffer> <C-s> :w<CR> :!grofftex %<CR><CR>
|
||||
|
|
Loading…
Reference in a new issue