mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-08 09:53:47 -05:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
377a04eeec | ||
|
|
709d01d074 | ||
|
|
2e9b7ca58e |
@@ -859,6 +859,9 @@ if your face looked like a toaster and a t-rex put together? :(
|
||||
==============================================================================
|
||||
7. Changelog *NERDComChangelog*
|
||||
|
||||
2.1.18
|
||||
- add support for llvm. Thanks to nicothakis.
|
||||
- add support for xquery. Thanks to Phillip Kovalev.
|
||||
2.1.17
|
||||
- fixed haskell delimiters (hackily). Thanks to Elias Pipping.
|
||||
- add support for mailcap. Thanks to Pascal Brueckner.
|
||||
@@ -1264,6 +1267,7 @@ Vladimir Lomov asymptote
|
||||
Marco mrxvtrc, aap
|
||||
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate,
|
||||
SVNdiff, gitAnnotate, gitdiff, dtrace
|
||||
llvm
|
||||
Chen Xing Wikipedia
|
||||
Jacobo Diaz dakota, patran
|
||||
Li Jin gentoo-env-d, gentoo-init-d,
|
||||
@@ -1279,6 +1283,7 @@ Chris map
|
||||
Krzysztof A. Adamski group
|
||||
Pascal Brueckner mailcap
|
||||
Jerónimo Carballo stata
|
||||
Phillip Kovalev xquery
|
||||
|
||||
==============================================================================
|
||||
8. License *NERDComLicense*
|
||||
|
||||
@@ -465,6 +465,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimitersWithAlternative(';','', '#|', '|#')
|
||||
elseif a:filetype == "lite"
|
||||
call s:MapDelimiters('/*','*/')
|
||||
elseif a:filetype == "llvm"
|
||||
call s:MapDelimiters(';','')
|
||||
elseif a:filetype == "lookupfile"
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "lotos"
|
||||
@@ -893,6 +895,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('/*','*/')
|
||||
elseif a:filetype == "yaml"
|
||||
call s:MapDelimiters('#','')
|
||||
elseif a:filetype == "xquery"
|
||||
call s:MapDelimiters('(:',':)')
|
||||
elseif a:filetype == "z8a"
|
||||
call s:MapDelimiters(';', '')
|
||||
|
||||
@@ -3294,7 +3298,9 @@ execute 'nmap <silent>' . g:NERDAppendComMap . ' :call NERDComment(0, "append")<
|
||||
execute 'nmap <silent>' . g:NERDPrependComMap . ' :call NERDComment(0, "prepend")<cr>'
|
||||
|
||||
" set up the mapping to insert comment delims at the cursor position in insert mode
|
||||
execute 'inoremap <silent>' . g:NERDComInInsertMap . ' ' . '<SPACE><BS><ESC>:call NERDComment(0, "insert")<CR>'
|
||||
if g:NERDComInInsertMap != ''
|
||||
execute 'inoremap <silent>' . g:NERDComInInsertMap . ' ' . '<SPACE><BS><ESC>:call NERDComment(0, "insert")<CR>'
|
||||
endif
|
||||
|
||||
" Section: Menu item setup {{{1
|
||||
" ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user