Open levivm opened 5 years ago
Any workaround?
Does someone find a solution for this ?
@satshabad-cr do you have this problem with OSX with iTerm2 ? It only happens with that setup.
I haven't used this setup in a bit, but it was on my ubuntu laptop with konsole I believe
Kind of late, but for anyone else coming across this, typescript-vim's syntax highlighting isn't applied by default to vanilla js files. This bug can manifest as an unrelated issue where vim detects the filetype as javascript
when it should be javascriptreact
or some other jsx filetype (can easily happen if you've outsourced your builds to a third party, e.g: https://github.com/facebook/create-react-app/issues/87#issuecomment-234627904). You can use :set ft=javascriptreact
to explicitly set the file type (substitute whatever filetype is appropriate for your framework / setup).
In vim, using template strings brokes the syntax highlight.
Using `
Using ' instead of `