mirror of
https://github.com/preservim/nerdcommenter.git
synced 2024-11-24 03:55:47 +08:00
Merge pull request #113 from heartsentwined/emblem
add support for emblem
This commit is contained in:
commit
4fc52fd698
|
@ -151,6 +151,7 @@ let s:delimiterMap = {
|
|||
\ 'elixir': { 'left': '#' },
|
||||
\ 'elmfilt': { 'left': '#' },
|
||||
\ 'ember-script': { 'left': '#' },
|
||||
\ 'emblem': { 'left': '/' },
|
||||
\ 'erlang': { 'left': '%', 'leftAlt': '%%' },
|
||||
\ 'eruby': { 'left': '<%#', 'right': '%>', 'leftAlt': '<!--', 'rightAlt': '-->' },
|
||||
\ 'expect': { 'left': '#' },
|
||||
|
@ -2406,7 +2407,7 @@ endfunction
|
|||
function s:Left(...)
|
||||
let params = a:0 ? a:1 : {}
|
||||
|
||||
let delim = has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
|
||||
let delim = has_key(params, 'alt') ? b:NERDCommenterDelims['leftAlt'] : b:NERDCommenterDelims['left']
|
||||
|
||||
if delim == ''
|
||||
return ''
|
||||
|
@ -2585,7 +2586,7 @@ endfunction
|
|||
function s:Right(...)
|
||||
let params = a:0 ? a:1 : {}
|
||||
|
||||
let delim = has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
|
||||
let delim = has_key(params, 'alt') ? b:NERDCommenterDelims['rightAlt'] : b:NERDCommenterDelims['right']
|
||||
|
||||
if delim == ''
|
||||
return ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user