mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
It turns out that emacs likes to have the modeline at the very top, not bottom, so I changed the sample script to accommodate
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-- -*- mode: lua -*-
|
||||
-- vim: set filetype=lua :
|
||||
-- The preceding lines should be left intact to help vim/emacs do syntax
|
||||
-- highlighting
|
||||
|
||||
description = [[
|
||||
This is an example script for the Nmap Scripting Engine. It is intended to be a
|
||||
quick way to get started on developing a script without having to find and
|
||||
@@ -214,9 +219,5 @@ end
|
||||
--
|
||||
-- function action (...) return actions[SCRIPT_TYPE](...) end
|
||||
--
|
||||
|
||||
|
||||
-- Leave these lines intact to help vim/emacs determine the filetype for syntax highlighting
|
||||
-- vim: set filetype=lua :
|
||||
-- -*- mode: lua -*-
|
||||
--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user