From 165d1e3686e65183b50b40c288357881a7cf7210 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 13 Jul 2008 12:09:22 +1200 Subject: [PATCH] add support for stata --- 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 e4d88cd..f0b88c7 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -855,6 +855,7 @@ if your face looked like a toaster and a t-rex put together? :( 2.1.17 - fixed haskell delimiters (hackily). Thanks to Elias Pipping. - add support for mailcap. Thanks to Pascal Brueckner. + - add support for stata. Thanks to Jerónimo Carballo. 2.1.16 @@ -1267,6 +1268,7 @@ Indriði Einarsson mason Chris map Krzysztof A. Adamski group Pascal Brueckner mailcap +Jerónimo Carballo stata ============================================================================== 8. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 8d8d9fd..66a255f 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -761,6 +761,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype == "st" call s:MapDelimiters('"','') + elseif a:filetype == "stata" + call s:MapDelimiters('/*','*/') elseif a:filetype == "stp" call s:MapDelimiters('--', '') elseif a:filetype == "strace"