3 Commits

Author SHA1 Message Date
Martin Grenfell
377a04eeec add support for xquery 2008-07-27 22:11:34 +12:00
Martin Grenfell
709d01d074 add support for llvm 2008-07-27 22:09:45 +12:00
Martin Grenfell
2e9b7ca58e dont map the insert comment map if the key isnt set 2008-07-20 00:59:51 +12:00
2 changed files with 12 additions and 1 deletions

View File

@@ -859,6 +859,9 @@ if your face looked like a toaster and a t-rex put together? :(
============================================================================== ==============================================================================
7. Changelog *NERDComChangelog* 7. Changelog *NERDComChangelog*
2.1.18
- add support for llvm. Thanks to nicothakis.
- add support for xquery. Thanks to Phillip Kovalev.
2.1.17 2.1.17
- fixed haskell delimiters (hackily). Thanks to Elias Pipping. - fixed haskell delimiters (hackily). Thanks to Elias Pipping.
- add support for mailcap. Thanks to Pascal Brueckner. - add support for mailcap. Thanks to Pascal Brueckner.
@@ -1264,6 +1267,7 @@ Vladimir Lomov asymptote
Marco mrxvtrc, aap Marco mrxvtrc, aap
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate, nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate,
SVNdiff, gitAnnotate, gitdiff, dtrace SVNdiff, gitAnnotate, gitdiff, dtrace
llvm
Chen Xing Wikipedia Chen Xing Wikipedia
Jacobo Diaz dakota, patran Jacobo Diaz dakota, patran
Li Jin gentoo-env-d, gentoo-init-d, Li Jin gentoo-env-d, gentoo-init-d,
@@ -1279,6 +1283,7 @@ Chris map
Krzysztof A. Adamski group Krzysztof A. Adamski group
Pascal Brueckner mailcap Pascal Brueckner mailcap
Jerónimo Carballo stata Jerónimo Carballo stata
Phillip Kovalev xquery
============================================================================== ==============================================================================
8. License *NERDComLicense* 8. License *NERDComLicense*

View File

@@ -465,6 +465,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimitersWithAlternative(';','', '#|', '|#') call s:MapDelimitersWithAlternative(';','', '#|', '|#')
elseif a:filetype == "lite" elseif a:filetype == "lite"
call s:MapDelimiters('/*','*/') call s:MapDelimiters('/*','*/')
elseif a:filetype == "llvm"
call s:MapDelimiters(';','')
elseif a:filetype == "lookupfile" elseif a:filetype == "lookupfile"
call s:MapDelimiters('', '') call s:MapDelimiters('', '')
elseif a:filetype == "lotos" elseif a:filetype == "lotos"
@@ -893,6 +895,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('/*','*/') call s:MapDelimiters('/*','*/')
elseif a:filetype == "yaml" elseif a:filetype == "yaml"
call s:MapDelimiters('#','') call s:MapDelimiters('#','')
elseif a:filetype == "xquery"
call s:MapDelimiters('(:',':)')
elseif a:filetype == "z8a" elseif a:filetype == "z8a"
call s:MapDelimiters(';', '') 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>' 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 " set up the mapping to insert comment delims at the cursor position in insert mode
if g:NERDComInInsertMap != ''
execute 'inoremap <silent>' . g:NERDComInInsertMap . ' ' . '<SPACE><BS><ESC>:call NERDComment(0, "insert")<CR>' execute 'inoremap <silent>' . g:NERDComInInsertMap . ' ' . '<SPACE><BS><ESC>:call NERDComment(0, "insert")<CR>'
endif
" Section: Menu item setup {{{1 " Section: Menu item setup {{{1
" =========================================================================== " ===========================================================================