Nmap Development mailing list archives

Re: Modules for vim/emacs


From: Mak Kolybabi <mak () kolybabi com>
Date: Fri, 5 Nov 2010 09:11:14 -0500

On 2010-11-05 00:12, Fyodor wrote:
1) We should definitely document the procedure for registering NSE to Lua in
   common editors. David already posted a recommended .vimrc line. Now can
   someone post their preferred mechanism for emacs or other editors? We can
   then add the instructions to scripting.xml.

I have the following in my .emacs file:

(add-to-list 'auto-mode-alist '("\\.nse$" . lua-mode))
(add-to-list 'auto-mode-alist '("\\.nselib$" . lua-mode))

--
Mak Kolybabi
<mak () kolybabi com>

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: