This bundle adds a basic syntax support for the Golo programming language, as well as some default customisations and plugins configurations.
Install using Plug:
Plug 'jponge/vim-golo'
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.vim
to~/.vim/syntax/golo.vim
- Copy
ftdetect/golo.vim
to~/.vim/ftdetect/golo.vim
- Copy
indent/golo.vim
to~/.vim/indent/golo.vim
- Copy
compiler/golo.vim
to~/.vim/compiler/golo.vim
- Copy
ftplugin/golo.vim
to~/.vim/ftplugin/golo.vim
- If you use the Snipmate plugin,
copy
snippets/golo.snippets
to itssnippets
directory - If you use the syntastic plugin
copy
syntax_checkers/golo/golo.vim
to itssyntax_checkers/golo
directory
- Copy
-
On Windows:
- Copy
syntax/golo.vim
to$HOME/vimfiles/syntax/golo.vim
- Copy
ftdetect/golo.vim
to$HOME/vimfiles/ftdetect/golo.vim
- Copy
indent/golo.vim
to$HOME/vimfiles/indent/golo.vim
- Copy
compiler/golo.vim
to$HOME/vimfiles/compiler/golo.vim
- Copy
ftplugin/golo.vim
to$HOME/vimfiles/ftplugin/golo.vim
- If you use the Snipmate plugin,
copy
snippets/golo.snippets
to itssnippets
directory - If you use the syntastic plugin
copy
syntax_checkers/golo/golo.vim
to itssyntax_checkers/golo
directory
- 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.