nasl.vim : syntax highlighting for Nessus nasl scripts
script karma |
Rating 10/8,
Downloaded by 1142 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Markus DeShon |
|
script type |
syntax |
|
description |
Performs syntax highlighting for Nessus Attack Scripting
Language (NASL) scripts.
This is still in rapid development, and by no means finished. But, it's already useful, so I thought I would share it. |
|
install details |
Put the script in the same place where your other syntax scripts are located (on my Debian Linux system that would be /usr/share/vim/vim61/syntax). If you don't have access to that directory, then you can put it somewhere in your ~/.vim directory, not sure where...
To have the nasl files be automatically recognized by the .nasl filename, you will need to edit the filetype.vim file on your system, adding an entry like this:
" Nasl script file
au BufNewFile,BufRead *.nasl setf nasl
That way, the nasl.vim file will load automatically upon running :syntax enable, as long as you're editing a file which ends in .nasl (I'll work on having .inc files recognized as well). |
|
script versions (upload new version)
Click on the package to download.
nasl.vim |
0.3 |
2003-12-12 |
6.0 |
Markus DeShon |
Have now added all the functions from all the .inc files. |
nasl.vim |
0.2 |
2003-12-05 |
6.0 |
Markus DeShon |
This is a much better version, includes all builtin functions. I will add the functions from all the standard .inc files next. |
nasl.vim |
0.1 |
2003-12-04 |
6.0 |
Markus DeShon |
Initial upload |
ip used for rating: 52.15.59.163
|