From f8ce318000b6034c749fc7fc23692ca6f63fb19c Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 17 Apr 2008 23:18:00 +1200 Subject: [PATCH] add support for pyrex --- doc/NERD_commenter.txt | 3 +++ plugin/NERD_commenter.vim | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 6d38736..c08acab 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -863,6 +863,8 @@ to get illegal syntax when uncommenting them. 2.x.x - added support for rib files, thanks to spookypeanut for posting the issue. + - added support for pyrex/cython, thanks to Greg Jandl for posting the + issue. 2.1.12 - added support for patran and dakota, thx to Jacobo Diaz for the email @@ -1227,3 +1229,4 @@ Jacobo Diaz dakota, patran Li Jin gentoo-env-d, gentoo-init-d, gentoo-make-conf, grub, modconf, sudoers SpookeyPeanut rib +Greg Jandl pyrex/cython diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 444892c..44a0c92 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -608,6 +608,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype == "ptcap" call s:MapDelimiters('#', '') + elseif a:filetype == "pyrex" + call s:MapDelimiters('#','') elseif a:filetype == "python" call s:MapDelimiters('#','') elseif a:filetype == "qf"