From f65d86fea306276e76f3444eba9191f827172b1e Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 29 Oct 2008 20:31:13 +1300 Subject: [PATCH] add support for hostsaccess --- doc/NERD_commenter.txt | 2 ++ plugin/NERD_commenter.vim | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index df5088a..c219cc3 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -805,6 +805,7 @@ if your face looked like a toaster and a t-rex put together? :( thanks to tpope - add support for actionscript and processing thanks to Edwin Benavides - add support for ps1 (powershell), thanks to Jason Mills + - add support for hostsaccess, thanks to Thomas Rowe 2.2.0 - rewrote the mappings system to be more "standard". @@ -1039,6 +1040,7 @@ Giacomo Mariani SVNinfo Matthew Lee Hinman newlisp Elias Pipping automake Edwin Benavides actionscript, processing +Thomas Rowe hostsaccess ============================================================================== 9. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 4735cb2..020c370 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -383,6 +383,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimitersWithAlternative('//','', '/*','*/') elseif a:filetype == "hog" call s:MapDelimiters('#', '') + elseif a:filetype == "hostsaccess" + call s:MapDelimiters('#', '') elseif a:filetype == "html" call s:MapDelimitersWithAlternative('', '//', '') elseif a:filetype == "htmldjango"