Vim: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
Line 14: Line 14:


= Links =
= Links =
[https://github.com/vim-scripts/NSIS-syntax-highlighting NSIS-syntax-highlighting] by Chris Morgan<br/>
'''[https://github.com/vim-scripts/NSIS-syntax-highlighting NSIS-syntax-highlighting]''' by Chris Morgan<br/>
[https://github.com/vim-scripts/nsis.vim nsis.vim] by Wenzhi Liang<br/>
[https://github.com/vim-scripts/nsis.vim nsis.vim] by Wenzhi Liang<br/>
[https://github.com/vim-scripts/NSIS-2.0--Syntax NSIS-2.0--Syntax] by Scott Barker<br/>
[https://github.com/vim-scripts/NSIS-2.0--Syntax NSIS-2.0--Syntax] by Scott Barker<br/>

Revision as of 15:00, 1 June 2013

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