Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.13 KB

INSTALL.md

File metadata and controls

44 lines (33 loc) · 1.13 KB

Installing Vim Syntax File

Of all the things that I have tried to do in order to debug a brand new syntax file for Vim editor, the following steps are my best and easiest to use and I hope they are to you as well.

Preparing Your Home Settings

If you do not have a .vim subdirectory in your $HOME directory, create that subdirectory:

mkdir $HOME/.vim

If you do not have a syntax or ftdetect subdirectory under that .vim directory, create them as needed:

mkdir $HOME/.vim/syntax
mkdir $HOME/.vim/ftdetect

Copying Vim Syntax Files

Copy the Vim syntax files from my github repository into your Vim local settings:

cd $HOME/myworkspace
git clone https://github.com/egberts/vim-syntax-bind-named
cp -R vim-syntax-bind-named/syntax/* ~/.vim/syntax/
cp -R vim-syntax-bind-named/ftdetect/* ~/.vim/ftdetect/

See the Highlightings

To see highlighting in action, use the enclosed test file for highlighting of ISC Bind named configuration file:

vim vim-syntax-bind-named/test/example-named.conf