Vim syntax highlighting for Rdist
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftdetect
ftplugin
syntax
.gitignore
LICENSE
README.md

README.md

Vim syntax highlighting for Rdist.

To install the traditional way:

git clone https://github.com/tangledhelix/vim-rdist.git
cd vim-rdist
for i in ftdetect ftplugin syntax ; do
  mkdir -p ~/.vim/$i
  cp $i/rdist.vim ~/.vim/$i
done

If you use Pathogen:

cd ~/.vim/bundle
git clone https://github.com/tangledhelix/vim-rdist.git rdist

If the syntax is not autodetected, you can add an autocommand to ~/.vimrc for whatever filename(s) you use for Rdist files. It should auto-detect distfile and Distfile.

autocmd BufNewFile,BufRead distfile.local set filetype=rdist