diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /contrib/README.vimsyntax | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | contrib/README.vimsyntax | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/README.vimsyntax b/contrib/README.vimsyntax new file mode 100644 index 0000000..3bf5a7a --- /dev/null +++ b/contrib/README.vimsyntax @@ -0,0 +1,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> |