Vim: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
Line 20: Line 20:


[[Category:Syntax_Highlighting]]
[[Category:Syntax_Highlighting]]
[[Category:Development Environments]]

Latest revision as of 14:09, 4 July 2014

Description

Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor Vi, with a more complete feature set. Several syntax files supporting NSIS are available, all of them support NSIS up to version 2.46, the most recently updated one is provided by Chris Morgan.

Installation

  • Place your .vim file in $VIMRUNTIME\syntax or in vimfiles\syntax
  • If you want NSIS script headers to be highlighted as well, add the following to your vimrc:
augroup filetypedetect 
    au BufNewFile,BufRead *.nsh setf nsis 
augroup END 

For more detailed instructions, please refer to the individual Github projects!


Links

NSIS-syntax-highlighting by Chris Morgan
nsis.vim by Wenzhi Liang
NSIS-2.0--Syntax by Scott Barker
Nsis-color by Artem Zankovich