Add Golang specific Neovim config

This commit is contained in:
Devon Tingley 2022-02-15 20:13:52 -05:00
parent 3a5cb0cc4b
commit 05a357308d

View file

@ -44,3 +44,11 @@ nmap <leader>ref <Plug>(coc-references)
nmap <leader>rename <Plug>(coc-rename)
nmap <leader>help :CocDiagnostics<CR>
nmap <leader>git <Plug>(coc-git-commit)
" Language Specific Settings
function! Golang_settings()
setlocal tabstop=4
setlocal noexpandtab
endfunction
autocmd FileType go call Golang_settings()