13 Commits

Author SHA1 Message Date
Martin Grenfell
a84365f174 switch version to 2.1.15 2008-06-22 12:09:48 +12:00
Martin Grenfell
1fc1decbe9 update changelog 2008-06-22 12:09:19 +12:00
Martin Grenfell
dc8275ffa0 update the header comments 2008-06-22 12:08:11 +12:00
Martin Grenfell
64f0798984 use wtfpl license, remove todo list from the help 2008-06-22 12:03:32 +12:00
Martin Grenfell
01f8df684c add support for group 2008-06-20 21:46:17 +12:00
Martin Grenfell
7c830eb223 remove all trailing whitespace 2008-06-15 21:36:23 +12:00
Martin Grenfell
af0d51d8b3 add support for bzr 2008-06-15 21:34:08 +12:00
Martin Grenfell
650396b1fc update the changelog 2008-05-24 18:55:53 +12:00
Martin Grenfell
cf54bfc7c4 add support for map 2008-05-24 18:55:08 +12:00
Martin Grenfell
6b2cc6c41d add support for mason 2008-05-24 16:35:03 +12:00
Martin Grenfell
e52840527a remove an out of date comment 2008-05-19 15:44:53 +12:00
Martin Grenfell
dee2021b8f fix some indenting in the changelog 2008-05-19 15:43:42 +12:00
Martin Grenfell
2da9787ff1 add support for pamconf 2008-05-19 15:42:19 +12:00
2 changed files with 756 additions and 731 deletions

View File

@@ -40,9 +40,9 @@ CONTENTS *NERDCommenterContents*
4.1 Delimiter detection heuristics....|NERDComHeuristics| 4.1 Delimiter detection heuristics....|NERDComHeuristics|
4.2 Nesting issues....................|NERDComNesting| 4.2 Nesting issues....................|NERDComNesting|
5.The author..............................|NERDComAuthor| 5.The author..............................|NERDComAuthor|
6.TODO list...............................|NERDComTodo| 6.Changelog...............................|NERDComChangelog|
7.Changelog...............................|NERDComChangelog| 7.Credits.................................|NERDComCredits|
8.Credits.................................|NERDComCredits| 8.License.................................|NERDComLicense|
============================================================================== ==============================================================================
1. Intro *NERDCommenter* 1. Intro *NERDCommenter*
@@ -839,7 +839,7 @@ will become: >
for simplicity) for simplicity)
============================================================================== ==============================================================================
6. The author *NERDComAuthor* 5. The author *NERDComAuthor*
The author of the NERD commenter is Martyzillatron --- the half robot, half The author of the NERD commenter is Martyzillatron --- the half robot, half
dinosaur bastard son of Megatron and Godzilla. He enjoys destroying dinosaur bastard son of Megatron and Godzilla. He enjoys destroying
@@ -850,15 +850,15 @@ its a lonely life being the worlds premier terror machine. How would you feel
if your face looked like a toaster and a t-rex put together? :( if your face looked like a toaster and a t-rex put together? :(
============================================================================== ==============================================================================
7. TODO list *NERDComTodo* 7. Changelog *NERDComChangelog*
Uncommenting of minimal comments needs to be more robust. Currently it is easy 2.1.15
to get illegal syntax when uncommenting them. - added pamconf support, thanks to Martin Kustermann
- added mason support, thanks to Indriði Einarsson
- added map support, thanks to Chris
- added bzr support, thanks to Stromnov
============================================================================== - added group support, thanks to Krzysztof A. Adamski
8. Changelog *NERDComChangelog* - change license to wtfpl
2.1.14 2.1.14
- added support for gitconfig, tar, nerdtree - added support for gitconfig, tar, nerdtree
@@ -1063,7 +1063,7 @@ for his patch. Thanks to John O'Shea and fREW for the filetype
information. information.
============================================================================== ==============================================================================
8. Credits *NERDComCredits* 7. Credits *NERDComCredits*
Thanks and respect to the following people: Thanks and respect to the following people:
@@ -1247,4 +1247,14 @@ SpookeyPeanut rib
Greg Jandl pyrex/cython Greg Jandl pyrex/cython
Christophe Benz services, gitcommit Christophe Benz services, gitcommit
A Pontus vimperator A Pontus vimperator
Stromnov slice Stromnov slice, bzr
Martin Kustermann pamconf
Indriði Einarsson mason
Chris map
Krzysztof A. Adamski group
==============================================================================
8. License *NERDComLicense*
The NERD commenter is released under the wtfpl.
See http://sam.zoy.org/wtfpl/COPYING.

View File

@@ -1,11 +1,16 @@
" vim global plugin that provides easy code commenting for various file types " ============================================================================
" Last Change: 17 May 2008 " File: NERD_commenter.vim
" Maintainer: Martin Grenfell <martin_grenfell at msn.com> " Description: vim global plugin that provides easy code commenting
let s:NERD_commenter_version = 2.1.14 " Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
" Last Change: 22 June, 2008
" For help documentation type :help NERDCommenter. If this fails, Restart vim " License: This program is free software. It comes without any warranty,
" and try again. If it sill doesnt work... the help page is at the bottom " to the extent permitted by applicable law. You can redistribute
" of this file. " it and/or modify it under the terms of the Do What The Fuck You
" Want To Public License, Version 2, as published by Sam Hocevar.
" See http://sam.zoy.org/wtfpl/COPYING for more details.
"
" ============================================================================
let s:NERD_commenter_version = 2.1.15
" Section: script init stuff {{{1 " Section: script init stuff {{{1
if exists("loaded_nerd_comments") if exists("loaded_nerd_comments")
@@ -200,6 +205,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('%', '') call s:MapDelimiters('%', '')
elseif a:filetype == "btm" elseif a:filetype == "btm"
call s:MapDelimiters('::', '') call s:MapDelimiters('::', '')
elseif a:filetype == "bzr"
call s:MapDelimiters('', '')
elseif a:filetype == "caos" elseif a:filetype == "caos"
call s:MapDelimiters('*', '') call s:MapDelimiters('*', '')
elseif a:filetype == "catalog" elseif a:filetype == "catalog"
@@ -370,6 +377,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#','') call s:MapDelimiters('#','')
elseif a:filetype == "groovy" elseif a:filetype == "groovy"
call s:MapDelimitersWithAlternative('//','', '/*','*/') call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "group"
call s:MapDelimiters('','')
elseif a:filetype == "grub" elseif a:filetype == "grub"
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype == "gtkrc" elseif a:filetype == "gtkrc"
@@ -480,12 +489,16 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('> ','') call s:MapDelimiters('> ','')
elseif a:filetype == "make" elseif a:filetype == "make"
call s:MapDelimiters('#','') call s:MapDelimiters('#','')
elseif a:filetype == "map"
call s:MapDelimiters('%', '')
elseif a:filetype == "maple" elseif a:filetype == "maple"
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype == "markdown" elseif a:filetype == "markdown"
call s:MapDelimiters('<!--', '-->') call s:MapDelimiters('<!--', '-->')
elseif a:filetype == "masm" elseif a:filetype == "masm"
call s:MapDelimiters(';', '') call s:MapDelimiters(';', '')
elseif a:filetype == "mason"
call s:MapDelimiters('<% #', '%>')
elseif a:filetype == "master" elseif a:filetype == "master"
call s:MapDelimiters('$', '') call s:MapDelimiters('$', '')
elseif a:filetype == "matlab" elseif a:filetype == "matlab"
@@ -564,6 +577,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('', '') call s:MapDelimiters('', '')
elseif a:filetype == "ox" elseif a:filetype == "ox"
call s:MapDelimiters('//', '') call s:MapDelimiters('//', '')
elseif a:filetype == "pamconf"
call s:MapDelimiters('#', '')
elseif a:filetype == "pascal" elseif a:filetype == "pascal"
call s:MapDelimitersWithAlternative('{','}', '(*', '*)') call s:MapDelimitersWithAlternative('{','}', '(*', '*)')
elseif a:filetype == "passwd" elseif a:filetype == "passwd"