diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2014-01-04 23:44:33 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2014-01-04 23:44:33 +0100 |
| commit | ffb02a8823625af8c9cd354cd9e2839e2b27f922 (patch) | |
| tree | c16855af86de6559013ced0ea533d664c29e1e3a /vimrc | |
| parent | 63e7a3b3f3939b1cb26671e1ec9f49731d295282 (diff) | |
| download | dotfiles-ffb02a8823625af8c9cd354cd9e2839e2b27f922.tar.gz dotfiles-ffb02a8823625af8c9cd354cd9e2839e2b27f922.zip | |
vim: add Go's plugins only if Go is installed in the system.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -99,7 +99,9 @@ filetype off filetype indent plugin off " Using the Go plugins from the official repo. -set runtimepath+=$GOROOT/misc/vim +if isdirectory($GOROOT . "/misc/vim") + set runtimepath+=$GOROOT/misc/vim +endif " All the plugins are listed in my bundles file, that will be installed " inside the ~/.vim directory. |
