From 0fbc31674238baf2e7844fae54e1750a4ad6b49e Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 29 Dec 2019 14:01:16 -0500 Subject: update the readme and enable checkers for golang --- README.md | 16 +--------------- init.vim | 1 + 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 93439e7..6071527 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # vim-cfg - Personal Vimrc + other addons No doubt there are likely other ways of keeping your vim configuration and @@ -8,23 +7,10 @@ all addons in source control, either way this is what I'm using. # How to use this: -Run the following commands, be sure to _understand_ them first. ``` bash cd $HOME -git clone https://git.riedstra.us/mitch/vim-cfg .vim +git clone --recurse-submodules https://git.riedstra.us/mitch/vim-cfg.git .vim cd $HOME/.vim -./setup.sh ./link-vimrc.sh ``` - - -Once those commands complete you'll have installed my configuration. - - -# Using this for yourself. - -It's pretty simple, if you add repositories anywhere in `$HOME/.vim` then -just run `./gen-setup.sh` and it'll take care of making a new `./setup.sh` -for you. Commit this and push it wherever. - diff --git a/init.vim b/init.vim index 85a2a2a..aa0470c 100644 --- a/init.vim +++ b/init.vim @@ -42,6 +42,7 @@ set guifont=ProFont\ 11 " checker let g:syntastic_yaml_checkers = ['yamllint'] +let g:syntastic_go_checkers = [ 'go', 'gofmt', 'golangci_lint' ] " This lets :lopen / :lwindow always be populated work let g:syntastic_always_populate_loc_list = 1 -- cgit v1.2.3