diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 0a701a3..4b756ee 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -104,6 +104,7 @@ Plugin 'PotatoesMaster/i3-vim-syntax' Plugin 'lervag/vimtex' Plugin 'JamshedVesuna/vim-markdown-preview' Plugin 'junegunn/fzf.vim' +Plugin 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } call vundle#end() diff --git a/.profile b/.profile index 3e442ef..62dfe55 100644 --- a/.profile +++ b/.profile @@ -35,7 +35,10 @@ export TERMINAL="termite" export BROWSER="chromium" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" export QT_QPA_PLATFORMTHEME=gtk2 -export GOPATH="$XDG_LOCAL_HOME/go" + +# Go configuration +export GOPATH="$XDG_DATA_HOME/go" +export PATH="$PATH:$GOPATH/bin" exists() { which $@ 0<&- 1>/dev/null 2>/dev/null; } diff --git a/scripts/vim-setup b/scripts/vim-setup index 3719dce..63afd1d 100755 --- a/scripts/vim-setup +++ b/scripts/vim-setup @@ -26,4 +26,4 @@ vim +PluginUpdate +qall ######################### cd "$VIMDIR/bundle/YouCompleteMe" git submodule update --init --recursive -./install.py --system-libclang --clang-completer +./install.py --system-libclang --clang-completer --go-completer --rust-completer --js-completer --java-completer