Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bennypowers/template-literal-comments.nvim
- Owner: bennypowers
- License: mit
- Created: 2023-04-18T16:51:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-26T05:43:15.000Z (6 months ago)
- Last Synced: 2024-10-17T17:31:02.897Z (about 1 month ago)
- Topics: neovim, nvim-treesitter, treesitter
- Language: Lua
- Homepage:
- Size: 228 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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',
}
}
```