From 6843838bf1c24b098522a413b19a22e9a50057a2 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Mon, 24 Apr 2017 13:24:54 -0700 Subject: [PATCH] Go stuff --- dotfiles/config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index 98c6854..278b771 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -145,6 +145,9 @@ autocmd BufNewFile,BufRead *.py setlocal colorcolumn=80 " Disable the rust style guide recommended 4 space indentation let g:rust_recommended_style=0 +" Explicitly provide vim-go the gofmt command +let g:go_fmt_command = "gofmt" + " Hotkeys " Note noremap is a normal mode non-recursive mapping " nnoremap and nmap make the bind only work in normal mode