This bundle adds a basic syntax support for the Golo programming language, as well as some default customisations and plugins configurations.
It works best when used in combination with Pathogen:
cd ~/.vim/bundle
git clone git://github.com/jponge/vim-golo.git
If you're using Vim without Pathogen:
-
On a Unix derivative operating system:
- Copy
syntax/golo.vimto~/.vim/syntax/golo.vim - Copy
ftdetect/golo.vimto~/.vim/ftdetect/golo.vim - Copy
indent/golo.vimto~/.vim/indent/golo.vim - Copy
compiler/golo.vimto~/.vim/compiler/golo.vim - Copy
ftplugin/golo.vimto~/.vim/ftplugin/golo.vim - If you use the Snipmate plugin,
copy
snippets/golo.snippetsto itssnippetsdirectory - If you use the syntastic plugin
copy
syntax_checkers/golo/golo.vimto itssyntax_checkers/golodirectory
- Copy
-
On Windows:
- Copy
syntax/golo.vimto$HOME/vimfiles/syntax/golo.vim - Copy
ftdetect/golo.vimto$HOME/vimfiles/ftdetect/golo.vim - Copy
indent/golo.vimto$HOME/vimfiles/indent/golo.vim - Copy
compiler/golo.vimto$HOME/vimfiles/compiler/golo.vim - Copy
ftplugin/golo.vimto$HOME/vimfiles/ftplugin/golo.vim - If you use the Snipmate plugin,
copy
snippets/golo.snippetsto itssnippetsdirectory - If you use the syntastic plugin
copy
syntax_checkers/golo/golo.vimto itssyntax_checkers/golodirectory
- Copy
You can see value of $HOME by entering the following command in Vim : :echo $HOME.
The current form brings basic syntax highlighting in Vim, which is already better than monochrome text.
The Tagbar plugin configuration in ftplugin/golo.vim needs a Golo version that can generate ctags.
I am no Vim tuning expert, so feel-free to contribute improvements! (pull requests only)
Copyright (C) 2013 Julien Ponge.
This Vim bundle is published under a MIT-style license: see the LICENSE file.