I haven't tried the desktop edition but it should be similar.
Install vim-syntax-go
sudo apt-get install vim-syntax-go
Create the .vim directory in your home directory
mkdir .vim
mkdir ~/.vim/syntax
cp /usr/share/vim/addons/syntax/go.vim ~/.vim/syntax/
mkdir ~/.vim/ftdetect
cp /usr/share/vim/addons/ftdetect/gofiletype.vim ~/.vim/ftdetect/
2 comments:
Thank you very much. This saved a few hairs ....
May I suggest symlinks?
ln -s /usr/share/vim/addons/syntax/go.vim ~/.vim/syntax/
ln -s /usr/share/vim/addons/ftdetect/gofiletype.vim ~/.vim/ftdetect/
Post a Comment