To switch back between Golang and Scala: init.vim
and init.lua
Golang
I followd the guide provided by this guy (https://octetz.com/docs/2019/2019-04-24-vim-as-a-go-ide/) and faced some problems:
- The
vim.plug
should be copied inside~/.config/nvim/autoload/
not~/.var/app/io.neovim.nvim/data/nvim/site/autoload/
. - The command
:GoInstallBinaries
installs the binaries likegopls
(in my case) inside$HOME/go/bin
. Therefore,$HOME/go/bin
must be appended to the$PATH
variable.
if [ -d "$HOME/go/bin" ] ; then
PATH="$PATH:$HOME/go/bin"