Merge pull request #113 from heartsentwined/emblem

add support for emblem
This commit is contained in:
Caleb Maclennan 2016-05-23 20:23:49 +03:00
commit 4fc52fd698
No known key found for this signature in database
GPG Key ID: 63CC496475267693

View File

@ -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 ''