From aaf2471da79132c15975be1aa73f0e73f3590bf6 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 12 Oct 2008 21:59:12 +1300 Subject: [PATCH] add support for newlisp --- doc/NERD_commenter.txt | 4 ++++ plugin/NERD_commenter.vim | 2 ++ 2 files changed, 6 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index d7e2496..36438ce 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -798,6 +798,9 @@ if your face looked like a toaster and a t-rex put together? :( ============================================================================== 8. Changelog *NERDComChangelog* +2.x.x + - add support for newlisp, thanks to Matthew Lee Hinman. + 2.2.0 - rewrote the mappings system to be more "standard". - removed all the mapping options. Now, mappings to mappings are @@ -1026,6 +1029,7 @@ Bernhard Grotz potwiki sgronblo man François txt2tags Giacomo Mariani SVNinfo +Matthew Lee Hinman newlisp ============================================================================== 9. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 4a0dfd4..dbcae8a 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -539,6 +539,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('', '') elseif a:filetype == "netrw" call s:MapDelimiters('', '') + elseif a:filetype == "newlisp" + call s:MapDelimiters(';','') elseif a:filetype == "nqc" call s:MapDelimiters('/*','*/') elseif a:filetype == "nroff"