pgn.vim : syntax highlighting for .pgn (chess) files
| script karma
Downloaded by 1237
Comments, bugs, improvements
script versions (upload new version)
|Highlights tag pairs, movetext and comments of Portable Game Notation (PGN) files, which is the most common format for computer processing of chess games.
Recognizes standard algebraic notation and other commonly used notations, as seen on the Wikipedia page for algebraic notation.
It is a new version of Charles Ford's original script, published on this site on 2003-06-14.
|Put the file in your $VIMRUNTIME/syntax/ directory.
Then in your $VIMRUNTIME/filetype.vim file, add this line:
au BufNewFile,BufRead *.pgn setf pgn
Click on the package to download.
ip used for rating: 22.214.171.124