Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update treesitter links #269

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading