Up: Vim Syntax Highlighting   [Contents][Index]


17.1 poke.vim

etc/vim/syntax/poke.vim is a syntax highlighter for Poke source i.e. .pk files. To use it, first place the file in your ~/.vimrc/syntax/ folder on Unix based systems, or in $HOME/vimfiles/syntax/ on Windows. There are a few ways to tell Vim to use poke.vim for .pk files, but the quickest is to add the following line to your .vimrc:

au BufRead,BufNewFile *.pk set filetype=poke