Vim

From NSIS Wiki
Jump to navigationJump to search

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