Tomasz Gandor wrote:

> On Apr 17, 10:52 pm, Bram Moolenaar <[email protected]> wrote:
> > Is the syntax of .nsh files exactly the same as .nsi files?
> 
> Sorry, I replied, but it somehow didn't get sent to the group.
> 
> It has to be the same syntax, because the .nsh files
> are included verbatim through the "!include" directive.
> 
> More precisely, they are a subset of .nsi syntax, because
> they are just snippets of NSIS script, and are not divided
> into sections like .nsi files.

Alright:

au BufNewFile,BufRead *.nsi,*.nsh               setf nsis

-- 
MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes
              for future use in casseroles and sauces.
MY WAY:       What leftover wine?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui