pl1.vim : PL1 Syntax Highlighting (aka PL/1 or PL/I)
| script karma
Downloaded by 211
Comments, bugs, improvements
script versions (upload new version)
|Syntax highlighting for PL/1 code|
|Create a directory structure like the following in your home directory:
where "~/.vim" represents your private VIM configuration directory in your home directory (~ on unix like systems). Copy the file pl1.vim to ~/.vim/syntax/pl1.vim. The other file (~/.vim/ftdetect/pl1.vim) should consist of the following two lines:
au BufRead,BufNewFile *.pl1 set filetype=pl1
au BufRead,BufNewFile *.inc set filetype=pl1
That's it! You can now have syntax highlighting for PL/1 code!
I have difficulty reading the default color for VIM diffs. In order to make the diff text more readable, I change the highlight color by placing the following 1-liner in my ~/.vimrc file:
" Fix the difficult-to-read default setting for diff text
" highlighting. The bang (!) is required since we are overwriting the
" DiffText setting. The highlighting for "Todo" also looks nice (yellow)
" if you don't like the "MatchParen" (Aqua) diff color.
highlight! link DiffText MatchParen " Aqua diff coloring
" highlight! link DiffText Todo " Yellow diff coloring
Click on the package to download.
ip used for rating: 22.214.171.124