othree / yajs.vim

YAJS.vim: Yet Another JavaScript Syntax for Vim
http://www.vim.org/scripts/script.php?script_id=4974
Vim License
688 stars 41 forks source link

Closing bracket in template closes the containing block #153

Closed kyrisu closed 6 years ago

kyrisu commented 6 years ago

This is better explained with an example:

if (true) {
  let test1 = `123 }`;

  let test2 = '123';
}

The second variable declaration is not hightlighted properly because } in the template closed the if block.

othree commented 6 years ago
2017-12-27 11 08 04

Hi, works fine here. Maybe its caused by other Vim script?