mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-01-19 23:22:46 +08:00
add support for asciidoc, git, gitrebase and fix gitcommit
This commit is contained in:
parent
5d8bb28113
commit
44b4c26b86
|
@ -807,6 +807,8 @@ if your face looked like a toaster and a t-rex put together? :(
|
||||||
- add support for ps1 (powershell), thanks to Jason Mills
|
- add support for ps1 (powershell), thanks to Jason Mills
|
||||||
- add support for hostsaccess, thanks to Thomas Rowe
|
- add support for hostsaccess, thanks to Thomas Rowe
|
||||||
- add support for CVScommit
|
- add support for CVScommit
|
||||||
|
- add support for asciidoc, git and gitrebase. Thanks to Simon Ruderich.
|
||||||
|
- use # for gitcommit comments, thanks to Simon Ruderich.
|
||||||
|
|
||||||
2.2.0
|
2.2.0
|
||||||
- rewrote the mappings system to be more "standard".
|
- rewrote the mappings system to be more "standard".
|
||||||
|
@ -1042,6 +1044,7 @@ Matthew Lee Hinman newlisp
|
||||||
Elias Pipping automake
|
Elias Pipping automake
|
||||||
Edwin Benavides actionscript, processing
|
Edwin Benavides actionscript, processing
|
||||||
Thomas Rowe hostsaccess
|
Thomas Rowe hostsaccess
|
||||||
|
Simon Ruderich asciidoc, git, gitcommit, gitrebase
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
9. License *NERDComLicense*
|
9. License *NERDComLicense*
|
||||||
|
|
|
@ -145,6 +145,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "apachestyle"
|
elseif a:filetype == "apachestyle"
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
|
elseif a:filetype == "asciidoc"
|
||||||
|
call s:MapDelimiters('//', '')
|
||||||
elseif a:filetype == "applescript"
|
elseif a:filetype == "applescript"
|
||||||
call s:MapDelimitersWithAlternative('--', '', '(*', '*)')
|
call s:MapDelimitersWithAlternative('--', '', '(*', '*)')
|
||||||
elseif a:filetype == "asm68k"
|
elseif a:filetype == "asm68k"
|
||||||
|
@ -353,14 +355,18 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == 'gentoo-package-use'
|
elseif a:filetype == 'gentoo-package-use'
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
|
elseif a:filetype == 'git'
|
||||||
|
call s:MapDelimiters('', '')
|
||||||
elseif a:filetype == 'gitAnnotate'
|
elseif a:filetype == 'gitAnnotate'
|
||||||
call s:MapDelimiters('', '')
|
call s:MapDelimiters('', '')
|
||||||
elseif a:filetype == 'gitcommit'
|
elseif a:filetype == 'gitcommit'
|
||||||
call s:MapDelimiters('', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == 'gitconfig'
|
elseif a:filetype == 'gitconfig'
|
||||||
call s:MapDelimiters(';', '')
|
call s:MapDelimiters(';', '')
|
||||||
elseif a:filetype == 'gitdiff'
|
elseif a:filetype == 'gitdiff'
|
||||||
call s:MapDelimiters('', '')
|
call s:MapDelimiters('', '')
|
||||||
|
elseif a:filetype == 'gitrebase'
|
||||||
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "gnuplot"
|
elseif a:filetype == "gnuplot"
|
||||||
call s:MapDelimiters('#','')
|
call s:MapDelimiters('#','')
|
||||||
elseif a:filetype == "groovy"
|
elseif a:filetype == "groovy"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user