Have you got big data..? Well you are better get the right script for it then --> BigDataScript
I thought to give a quick break down of the syntax highlighting
break continue wait exit return checkpoint breakpoint goal
are all Statementsprint println
are highlighted as functions (just likeprint
in python)task sys dep par
are also highlighted as functions...local ssh cluster moab pbs sge generic mesos
are Constantcpus allowEmpty canFail timeout node queue retry taskName
are task's Identifiersmem node queue retry system timeout walltimeout taskShell sysShell
are Identifiers
This is colors look for me using molokai
colorsheme
So if you have any suggestions and/or other comments on the plugin please don't hesitate to raise an issue or flick me email.
Okay, It turned out much bigger job to make syntax highlight than I anticipated at the start...
I understand all pathogen plugin does is it sets the
right runtimepath
to look in bundle
directory for all other relevant directories and I am pretty
sure than my plugin is pathogen compatible and therefore:
git clone https://github.com/serine/bdsSyntaxHighlight.git ~/.vim/bundle/bdsSyntaxHighlight
And you should get your bds syntax highlighting
You need to place all directories under ~/.vim/
. If you already have some or all of those directories simply
move bds.vim
file into appropriate directory name.
e.g
git clone https://github.com/serine/bdsSyntaxHighlight.git ~/tmp/bdsSyntaxHighlight/
$ ls -1 ~/tmp/bdsSyntaxHighlight
ftdetect
ftplugin
indent
README.md
supplementary
syntax
if none of those directories exist in ~/.vim/
$ mv ftdetect ftplugin indent syntax ~/.vim/
else
$ mv ftdetect/bds.vim ~/.vim/ftdetect/
Repeat for all of bds.vim files.
By default error
and warning
area set to Error
syntax higlight, which in moloaki colorsheme
colored with red highlight e.g
However users might wish to change error
and warning
to Keyword
instead, which in molokai colorsheme
is colored with magenta red e.g
Add those two lines to your ~/.vimrc
" Interpret BDS error and warning command as Keyword instead of Error
let bdsErrorAsKeyword = 1