vim-jsx-pretty
vim-jsx-pretty copied to clipboard
:flashlight: [Vim script] JSX and TSX syntax pretty highlighting for vim.
```vim " in-built syntax match javaScriptLineComment "\/\/.*" contains=@Spell,javaScriptCommentTodo syntax match typescriptLineComment "//.*" contains=@Spell,typescriptCommentTodo,typescriptRef,typescriptMagicComment " vim-jsx-pretty syntax region javascriptLineComment start=+//+ end=/$/ contains=@Spell,javascriptCommentTodo extend keepend syntax region typescriptLineComment start=+//+ end=/$/ contains=@Spell,typescriptCommentTodo,typescriptRef extend...
I have code like this: ```jsx const renderThing = props => ( /* Render a thing */ {props.a_thing} ); ``` The `` does not get highlighted as JSX (it's showing...