mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-09 02:13:45 -05:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a84365f174 | ||
|
|
1fc1decbe9 | ||
|
|
dc8275ffa0 | ||
|
|
64f0798984 | ||
|
|
01f8df684c | ||
|
|
7c830eb223 | ||
|
|
af0d51d8b3 | ||
|
|
650396b1fc | ||
|
|
cf54bfc7c4 | ||
|
|
6b2cc6c41d | ||
|
|
e52840527a | ||
|
|
dee2021b8f | ||
|
|
2da9787ff1 | ||
|
|
fef5db7e92 | ||
|
|
875831209a | ||
|
|
191bb50879 | ||
|
|
e92b6f60d5 | ||
|
|
3eea85daa4 |
@@ -40,9 +40,9 @@ CONTENTS *NERDCommenterContents*
|
||||
4.1 Delimiter detection heuristics....|NERDComHeuristics|
|
||||
4.2 Nesting issues....................|NERDComNesting|
|
||||
5.The author..............................|NERDComAuthor|
|
||||
6.TODO list...............................|NERDComTodo|
|
||||
7.Changelog...............................|NERDComChangelog|
|
||||
8.Credits.................................|NERDComCredits|
|
||||
6.Changelog...............................|NERDComChangelog|
|
||||
7.Credits.................................|NERDComCredits|
|
||||
8.License.................................|NERDComLicense|
|
||||
|
||||
==============================================================================
|
||||
1. Intro *NERDCommenter*
|
||||
@@ -839,7 +839,7 @@ will become: >
|
||||
for simplicity)
|
||||
|
||||
==============================================================================
|
||||
6. The author *NERDComAuthor*
|
||||
5. The author *NERDComAuthor*
|
||||
|
||||
The author of the NERD commenter is Martyzillatron --- the half robot, half
|
||||
dinosaur bastard son of Megatron and Godzilla. He enjoys destroying
|
||||
@@ -850,16 +850,19 @@ 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? :(
|
||||
|
||||
==============================================================================
|
||||
7. TODO list *NERDComTodo*
|
||||
7. Changelog *NERDComChangelog*
|
||||
|
||||
Uncommenting of minimal comments needs to be more robust. Currently it is easy
|
||||
to get illegal syntax when uncommenting them.
|
||||
|
||||
|
||||
|
||||
==============================================================================
|
||||
8. Changelog *NERDComChangelog*
|
||||
2.1.15
|
||||
- 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
|
||||
- change license to wtfpl
|
||||
|
||||
2.1.14
|
||||
- added support for gitconfig, tar, nerdtree
|
||||
- added support for dtrace, thanks to nicothakis for the post
|
||||
2.1.13
|
||||
- added support for rib, pyrex/cython, liquid, services, gitcommit,
|
||||
vimperator, and slice. Thanks to spookypeanut, Greg Jandl, Christophe
|
||||
@@ -1060,7 +1063,7 @@ for his patch. Thanks to John O'Shea and fREW for the filetype
|
||||
information.
|
||||
|
||||
==============================================================================
|
||||
8. Credits *NERDComCredits*
|
||||
7. Credits *NERDComCredits*
|
||||
|
||||
Thanks and respect to the following people:
|
||||
|
||||
@@ -1235,7 +1238,7 @@ Renald Buter scala
|
||||
Vladimir Lomov asymptote
|
||||
Marco mrxvtrc, aap
|
||||
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate,
|
||||
SVNdiff, gitAnnotate, gitdiff
|
||||
SVNdiff, gitAnnotate, gitdiff, dtrace
|
||||
Chen Xing Wikipedia
|
||||
Jacobo Diaz dakota, patran
|
||||
Li Jin gentoo-env-d, gentoo-init-d,
|
||||
@@ -1244,4 +1247,14 @@ SpookeyPeanut rib
|
||||
Greg Jandl pyrex/cython
|
||||
Christophe Benz services, gitcommit
|
||||
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.
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
" vim global plugin that provides easy code commenting for various file types
|
||||
" Last Change: 4 May 2008
|
||||
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
|
||||
let s:NERD_commenter_version = 2.1.13
|
||||
|
||||
" For help documentation type :help NERDCommenter. If this fails, Restart vim
|
||||
" and try again. If it sill doesnt work... the help page is at the bottom
|
||||
" of this file.
|
||||
" ============================================================================
|
||||
" File: NERD_commenter.vim
|
||||
" Description: vim global plugin that provides easy code commenting
|
||||
" Maintainer: Martin Grenfell <martin_grenfell at msn dot com>
|
||||
" Last Change: 22 June, 2008
|
||||
" License: This program is free software. It comes without any warranty,
|
||||
" to the extent permitted by applicable law. You can redistribute
|
||||
" 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
|
||||
if exists("loaded_nerd_comments")
|
||||
@@ -200,6 +205,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('%', '')
|
||||
elseif a:filetype == "btm"
|
||||
call s:MapDelimiters('::', '')
|
||||
elseif a:filetype == "bzr"
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "caos"
|
||||
call s:MapDelimiters('*', '')
|
||||
elseif a:filetype == "catalog"
|
||||
@@ -290,6 +297,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('<!--','-->')
|
||||
elseif a:filetype == "dtml"
|
||||
call s:MapDelimiters('<dtml-comment>','</dtml-comment>')
|
||||
elseif a:filetype == "dtrace"
|
||||
call s:MapDelimiters('/*','*/')
|
||||
elseif a:filetype == "dylan"
|
||||
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
||||
elseif a:filetype == 'ebuild'
|
||||
@@ -360,12 +369,16 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == 'gitcommit'
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == 'gitconfig'
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == 'gitdiff'
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "gnuplot"
|
||||
call s:MapDelimiters('#','')
|
||||
elseif a:filetype == "groovy"
|
||||
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
||||
elseif a:filetype == "group"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "grub"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "gtkrc"
|
||||
@@ -476,12 +489,16 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('> ','')
|
||||
elseif a:filetype == "make"
|
||||
call s:MapDelimiters('#','')
|
||||
elseif a:filetype == "map"
|
||||
call s:MapDelimiters('%', '')
|
||||
elseif a:filetype == "maple"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "markdown"
|
||||
call s:MapDelimiters('<!--', '-->')
|
||||
elseif a:filetype == "masm"
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == "mason"
|
||||
call s:MapDelimiters('<% #', '%>')
|
||||
elseif a:filetype == "master"
|
||||
call s:MapDelimiters('$', '')
|
||||
elseif a:filetype == "matlab"
|
||||
@@ -526,6 +543,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('/*', '')
|
||||
elseif a:filetype == "ncf"
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == "nerdtree"
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "netdict"
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "netrw"
|
||||
@@ -558,6 +577,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "ox"
|
||||
call s:MapDelimiters('//', '')
|
||||
elseif a:filetype == "pamconf"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "pascal"
|
||||
call s:MapDelimitersWithAlternative('{','}', '(*', '*)')
|
||||
elseif a:filetype == "passwd"
|
||||
@@ -764,6 +785,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == "tak"
|
||||
call s:MapDelimiters('$', '')
|
||||
elseif a:filetype == "tar"
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "tasm"
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == "tcl"
|
||||
|
||||
Reference in New Issue
Block a user