[Pacemaker] Syntax highlighting in vim for crm configure edit

Digimer linux at alteeve.com
Thu Aug 18 15:53:12 CET 2011


On 08/18/2011 10:39 AM, Trevor Hemsley wrote:
> Hi all
> 
> I have attached a first stab at a vim syntax highlighting file for 'crm
> configure edit'
> 
> To activate this, I have added 'filetype plugin on' to my /root/.vimrc
> then created /root/.vim/{ftdetect,ftplugin}/pcmk.vim
> 
> In /root/.vim/ftdetect/pcmk.vim I have the following content
> 
> au BufNewFile,BufRead /tmp/tmp* set filetype=pcmk
> 
> but there may be a better way to make this happen. /root/.vim/pcmk.vim
> is the attached file.
> 
> Comments (not too nasty please!) welcome.

I would love to see proper support added for CRM syntax highlighting
added to vim. I will give this is a test and write back in a bit.

-- 
Digimer
E-Mail:              digimer at alteeve.com
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"At what point did we forget that the Space Shuttle was, essentially,
a program that strapped human beings to an explosion and tried to stab
through the sky with fire and math?"



More information about the Pacemaker mailing list