Closed Endle closed 5 years ago
I'm not sure if this is caused by plugin conflict, but othree/yajs.vim failed to highlight template strings
othree/yajs.vim
Sample code
let qBaseStr = `<div id="description"> <p>${q.Desc}</p> <div id="hint">${multiHint}</div> </div>`;
With no plugins (clean .vim)
.vim
othree/yajs.vim is the only plugin installed
My vim's behaviour before othree/yajs.vim is installed
My vim's behaviour after othree/yajs.vim is installed
The ${expression} is really insignificant here. I wonder if this grammar is highlighted?
${expression}
Thank you
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
Yes, inside the ${}. Codes will highlight.
${}
I'm not sure if this is caused by plugin conflict, but
othree/yajs.vim
failed to highlight template stringsSample code
With no plugins (clean
.vim
)othree/yajs.vim
is the only plugin installedMy vim's behaviour before
othree/yajs.vim
is installedMy vim's behaviour after
othree/yajs.vim
is installedThe
${expression}
is really insignificant here. I wonder if this grammar is highlighted?Thank you
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals