vbnet.vim : Syntax highlighting for VB.NET
script karma |
Rating 181/97,
Downloaded by 4834 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tim Pope |
|
script type |
syntax |
|
description |
Although VB.NET is really just a new version of VB, the differences seemed large enough to warrant new syntax highlighting. Nonetheless, this file aims to be backwards compatible with classic VB, although some deprecated VB syntax may be flagged as an error.
Folding is supported. Try ":set foldmethod=syntax".
I haven't done any VB since that one semester in college. I'd appreciate someone taking over this file and submitting it to be included in Vim. I believe it to be a rename and :%s/vbnet/vb/g away from being a far superior replacement for the vb.vim included with Vim, but it is terrible at VBScript, which vb.vim also handles.
|
|
install details |
Copy vbnet.vim to your syntax directory (.vim/syntax or vimfiles/syntax in your home directory). To activate it, use the command ":set ft=vbnet".
The following autocmd can be added to your vimrc to automatically set the filetype (and activate syntax highlighting) for all VB.NET files.
autocmd BufNewFile,BufRead *.vb set ft=vbnet |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 44.201.95.84
|