* Herman Polloni <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED]
http://intevation.de/~thomas/
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to