File: README.vimsyntax

package info (click to toggle)
crmsh 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,980 kB
  • sloc: python: 50,399; sh: 1,207; makefile: 255; xml: 243; exp: 234; awk: 22
file content (35 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
There were two VIM syntax files contributed:

pacemaker-crm.vim
pcmk.vim

The first one got removed because it didn't work with newer CRM
shell syntax anymore; most of the text was highlighted as "Error".

Neither matches colours used in crm configure show and both need
to be improved. Still, you may want to edit a more colorful
configuration. To have that in "crm configure edit" do the
following:

 1. Copy pcmk.vim to ~/.vim/syntax/pcmk.vim.

 2. Make sure the following is added to your VIM rc file
    (~/.vimrc or ~/.exrc):

    syntax on
    set modeline
    set modelines=5

 3. Copy the pcmk-ftdetect.vim to ~/.vim/ftdetect/ to
    make files being identified automatically.


If you're editing a file directly, just type:

	:setf pcmk

Many thanks to the contributors:

Trevor Hemsley <themsley@voiceflex.com>
Dan Frincu <df.cluster@gmail.com>
Lars Ellenberg <lars@linbit.com>