Skip to content

Commit

Permalink
Make NERD_commenter work with Scheme and Nu
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 16, 2010
1 parent e48f494 commit 1fc6306
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/NERD_commenter.vim
Expand Up @@ -469,6 +469,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '')
elseif a:filetype ==? "ntp"
call s:MapDelimiters('#', '')
elseif a:filetype ==? "nu"
call s:MapDelimiters(';', '')
elseif a:filetype ==? "objc"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "objcpp"
Expand Down Expand Up @@ -575,6 +577,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "scilab"
call s:MapDelimiters('//', '')
elseif a:filetype ==? "scheme"
call s:MapDelimiters(';', '')
elseif a:filetype ==? "scsh"
call s:MapDelimiters(';', '')
elseif a:filetype ==? "sed"
Expand Down

0 comments on commit 1fc6306

Please sign in to comment.