Commit graph

12 commits

Author SHA1 Message Date
Steven Arcangeli
75de06f8ed lint: autoformat all tree-sitter query files 2024-06-01 20:50:39 -07:00
brunnseb
7045e7cb00
feat(tsx): treesitter support for JSX symbols (#365)
Co-authored-by: Sebastian <sebastian.brunner@ti8m.ch>
2024-04-19 10:56:26 -04:00
Steven Arcangeli
23a739c0ac refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
Don Perignom
9bcfbaf7a7
fix: add treesitter support for JS / TS / TSX generator functions (#289)
* fix: add JS as TS generator functions

* feat: add TSX generator functions
2023-09-15 06:36:17 -07:00
Steven Arcangeli
e54cae0df0 feat: experimental support for navigating to symbol names (#279)
Using the treesitter backend, we can use the same "selectionRange" logic
that LSP symbol sources use to provide more detailed information about
where the name of the symbol is. We already use the LSP information to
change how we navigate the cursor to symbols, so once we parse this
information from treesitter it will automatically get used.

I'm putting this behind an experimental config option for now so we can
test it out for a while before making a sudden change to the behavior.
2023-08-09 21:47:48 -07:00
Emmanuel Touzery
9943fc88ed treesitter: support for arrow methods for JS/TS(X) 2023-02-24 20:07:20 +01:00
Steven Arcangeli
06c6b4c8eb fix: enforce treesitter backend uses LSP SymbolKind values (#219) 2023-02-14 08:44:49 -08:00
Steven Arcangeli
2b71abbcc3 feat: jest support for tsx (#47) 2023-02-05 12:03:24 -08:00
monaqa
87cede7ed1
rm language_kind_map; write "kind" in query file 2022-11-29 21:59:39 +09:00
Steven Arcangeli
ebbaa30ff0 feat(ts)(typescript): add support for variable symbols (#124) 2022-07-10 16:59:01 +00:00
Steven Arcangeli
70635d4072 fix(ts)(ts): support arrow functions in named variables 2022-04-05 16:56:22 -07:00
Steven Arcangeli
e2b643021f feat(ts)(tsx): tsx support for treesitter backend 2022-02-12 11:57:33 -08:00