I upload the file to the vim scripts repository,you can found it here: http://vim.sourceforge.net/scripts/script.php?script_id=1285
i upload a new version, with some bug fixes. On 5/20/05, Herman Polloni <[EMAIL PROTECTED]> wrote: > * Herman Polloni <hpolloni_at_gmail.com> [20050520 06:35]: > > i was googling for a syntax file for nasl, and didn't find it,so i write > > one. > > you can downloaded it from http://polloni.confianze.com/nasl.vim > > There is another nasl.vim syntax script from Markus DeShon at > http://www.vim.org/scripts/script.php?script_id=843 > > But as his script is much more complicated, Bram Moolenaar might be > interested in your simple version, too. > > > add this two lines to your .vimrc: > > > > au BufRead,BufNewFile *.nasl set filetype=nasl > > au! Syntax nasl source <PATH_TO_NASL_VIM> > > The official way would be: > > syntax on > au BufEnter *.nasl setfiletype nasl > > and place nasl.vim inside your ~/.vim/syntax/ directory (or any > other syntax directory below your 'runtimepath') > > Regards, > Thomas > > -- > Email: thomas_at_intevation.de > http://intevation.de/~thomas/ > -- Herman Polloni G. _______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
