Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bennypowers/template-literal-comments.nvim

highlight languages embedded in ECMAScript template literals by adding a comment
https://github.com/bennypowers/template-literal-comments.nvim

neovim nvim-treesitter treesitter

Last synced: about 1 month ago
JSON representation

highlight languages embedded in ECMAScript template literals by adding a comment

Awesome Lists containing this project

README

        

![Am Yisrael Chai - עם ישראל חי](https://bennypowers.dev/assets/flag.am.yisrael.chai.png)

# template-literal-comments.nvim

Highlight ECMAScript template literals by placing a comment before them

![js source showing multiple injected languages](./screenshot.png)

```lua
return { 'bennypowers/template-literal-comments.nvim',
opts = true,
ft = {
'javascript',
'typescript',
}
}
```