From 02051bb50d2a3eb96b52a559e2800a8e884bc428 Mon Sep 17 00:00:00 2001 From: Blallo Date: Tue, 22 Jun 2021 22:49:57 +0200 Subject: [PATCH] Make vim-go work --- config/vim-go.vim | 1 + vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/config/vim-go.vim b/config/vim-go.vim index 9947c29..5ee5841 100644 --- a/config/vim-go.vim +++ b/config/vim-go.vim @@ -4,3 +4,4 @@ let g:go_highlight_fields = 1 let g:go_highlight_functions = 1 let g:go_highlight_function_calls = 1 +let g:go_imports_autosave = 0 diff --git a/vimrc b/vimrc index fe7e4c1..19e6a8b 100644 --- a/vimrc +++ b/vimrc @@ -23,6 +23,7 @@ source $VIMHOME/config/vim-rooter.vim """ general +filetype plugin indent on set nospell " restore screen after quitting " au VimLeave * :!clear