Hi,

On Thu, Aug 18, 2011 at 5:53 PM, Digimer <li...@alteeve.com> wrote:
> 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've added a couple of extra keywords to the file, to cover a couple
more use cases. Other than that, great job.

Regards,
Dan

>
> 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:              digi...@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?"
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: 
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>



-- 
Dan Frincu
CCNA, RHCE

Attachment: pcmk.vim
Description: Binary data

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to