From 2f0abfda3868ce9f940553f354696359436ee649 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Sun, 6 Feb 2022 19:41:04 +0100 Subject: [PATCH] vimrc: go lint --- roles/dotfiles/files/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 6456323..cbbfdbd 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -23,7 +23,7 @@ augroup terraform augroup end augroup go autocmd FileType go :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix - autocmd FileType go nnoremap :GoFmt + au FileType go nmap (go-fmt)(go-lint) au FileType go nmap (go-build) au FileType go nmap (go-run) augroup end