cannot set syntax region on typescript tagged templates assigned to variables #12008
Labels
bug-vim
wrong behavior inherited from vim
needs:vim-patch
upstream issue that must be fixed in Vim first
syntax
regex syntax or non-regex parsing, lpeg, grammars
Milestone
nvim --version
:vim -u DEFAULTS
(version: ) behaves differently? no$TERM
: rxvt-unicode-256colorSteps to reproduce using
nvim -u NORC
add the following snippet to
~/.config/nvim/after/syntax/typescript.vim
create a file called
test.ts
like this:Actual behaviour
Expected behaviour
both the string templates should be highlighted as sql.
This is only an issue with typescript, javascript behaves as expected. Prior issues:
The text was updated successfully, but these errors were encountered: