Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: vim syntax file for nasl

Subject: Re: vim syntax file for nasl
Date: Fri, 20 May 2005 16:16:57 -0400
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 <hpolloni@gmail.com> 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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>