Skip to content

Commit

Permalink
Merge pull request #269 from ember-cli/NullVoxPopuli-patch-1
Browse files Browse the repository at this point in the history
Update treesitter links
  • Loading branch information
NullVoxPopuli authored Nov 20, 2024
2 parents a465bdc + c64544a commit 49b0500
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ The [Ember.js extension pack](https://marketplace.visualstudio.com/items?itemNam
[Example Neovim Config](https://github.com/NullVoxPopuli/dotfiles/blob/main/home/.config/nvim/lua/plugins/syntax.lua#L52) with support for good highlighting of embedded templates in JS and TS, using:

- https://github.com/nvim-treesitter/nvim-treesitter
- https://github.com/alexlafroscia/tree-sitter-glimmer
- https://github.com/ember-tooling/tree-sitter-glimmer
- https://github.com/NullVoxPopuli/tree-sitter-glimmer-javascript/
- https://github.com/NullVoxPopuli/tree-sitter-glimmer-typescript/

Additionally, when using the eslint-lsp, you'll need to tell ESLint to activate when `javascript.glimmer` and `typescript.glimmer` files are loaded. [Example](https://github.com/NullVoxPopuli/dotfiles/blob/main/home/.config/nvim/lua/plugin-config/lsp/init.lua#L147).

Expand Down Expand Up @@ -130,7 +132,10 @@ eslint.setup({
For other editors, you may be able to get support using one of these other syntax definitions:

- [TextMate](https://github.com/IgnaceMaes/glimmer-textmate-grammar)
- [TreeSitter](https://github.com/alexlafroscia/tree-sitter-glimmer)
- TreeSitter
- [Glimmer / hbs](https://github.com/alexlafroscia/tree-sitter-glimmer)
- gjs: https://github.com/NullVoxPopuli/tree-sitter-glimmer-javascript/
- gts: https://github.com/NullVoxPopuli/tree-sitter-glimmer-typescript/


## Using Template Tags and `.gjs`/`.gts` Files
Expand Down

0 comments on commit 49b0500

Please sign in to comment.