Commit graph

122 commits

Author SHA1 Message Date
emmanueltouzery
0a2cf2b120
feat(treesitter): add XML support (#405) 2024-09-10 10:34:56 -07:00
Steven Arcangeli
491e2fc564 fix(zig): update queries for new zig treesitter parser 2024-08-30 09:31:32 -07:00
Qiu Yu
92f93f4e15
feat(proto): add treesitter query for grpc in proto filetype (#404) 2024-08-28 17:38:19 -07:00
Qiu Yu
e585934fef
feat(starlark): treesitter support for Starlark (#402) 2024-08-21 20:40:59 -07:00
Qiu Yu
bb95e7fed7
feat(just): treesitter support for Just (#401) 2024-08-21 16:48:39 -07:00
WieeRd
263beeb929
feat(toml): treesitter support for TOML tables (#396)
* feat(toml): treesitter support for TOML tables

* test(toml): add test data for TOML documents
2024-08-12 09:21:46 -07:00
Steven Arcangeli
e75a3df2c2 fix(ruby): missing methods in treesitter backend (#382) 2024-07-23 17:29:06 -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
Gordon Cassie
5961a1afc0
feat(zig): basic treesitter support for zig. (#359)
* Add basic support for navigating zig files.

* Fix struct start position.

* Add test and tagged unions.

* Add test.
2024-04-16 16:27:37 -04:00
emmanueltouzery
c8a40b1266
feat(treesitter): groovy support (#351) 2024-03-11 16:29:45 -07:00
emmanueltouzery
ef08437108
fix(vim treesitter): support functions with field expression names (#332) 2023-12-07 20:53:35 -08:00
Colin Kennedy
eb301a4763
feat(treesitter): support for objdump files (#320)
* Added aerial queries for objdump

Added objdump to minimal_init.lua

* ci: tests fail if changes to snapshot files

* cleanup: comments on test filetype special cases

* test: add objdump test snapshots

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2023-10-31 07:55:51 -07:00
Slotos
3a3baf0930
feat(treesitter): ruby queries can set the scope of methods (#317)
This has direct impact on highlighting. If scope is set and set to
anything but "public", highlighter will use a separate highlight for
the corresponding entry. This was previously used by Elixir extension
by manually processing nodes.

Ruby queries are updated to deal with both predicate and statement
versions of scope setting.
2023-10-19 21:35:32 -07:00
Ryan Dale
c306ffcf34
feat(treesitter): support for snakemake (#316)
* add snakemake, based off of python

* add snakemake test file

* add example (but currently incorrect) test file

* fix tests
2023-10-17 07:58:08 -07:00
Steven Arcangeli
5b0433d61f
test: refactor tests to use snapshot files (#315)
* test: change treesitter tests to use snapshots

* test: add selection_range to treesitter tests

* ci: run tests against neovim 0.9.4
2023-10-15 21:18:56 -07:00
Steven Arcangeli
340d0197d7 fix(cpp): add support for declared functions (#314) 2023-10-15 17:58:21 -07:00
Slotos
a2368d1c4b
fix(ts): improve ruby handling of singletons and methods (#293)
Ruby allows us to do a lot of weird stuff, and having weirdness glaring
at us from the side panel can be handy for when we sober up and start
cleaning.

This commit handles a number of singleton class manipulation cases,
as well as adds a reciever information to singleton method declarations.
2023-09-18 10:40:21 -07:00
Slotos
fa8c408b76
feat(ts): add ruby support for ruby operator methods (#292)
Ruby supports some operators overloading by declaring a method with the
operator as the method name, e.g. `def <=>(other)`. Tree sitter ruby
parser recognises these method names as operators, not identifiers, and
as such existing queries skip over them.

This commit adds a query that captures "operator" instance methods.
2023-09-18 08:22:59 -07:00
Don Perignom
bed048ddef
feat(ts): support for more solidity symbols (#290) 2023-09-16 10:08:41 -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
Jaehwang Jung
de460a4a29
feat: treesitter supports markdown setext_heading (#276) 2023-08-06 17:53:36 -07:00
Steven Arcangeli
1a9896a7ca refactor: don't display anonymous lua functions
I find that showing anonymous functions is never helpful. These are
typically passed in as callback arguments to other functions, and are
not helpful to show in a symbol tree. They also break my expectations
for navigation.
2023-07-29 09:17:36 -07:00
emmanueltouzery
603ffde23a
feat(elixir): support parameterless functions (#277) 2023-07-11 08:09:41 -07:00
Yifan Song
7c2a432238
feat: add solidity treesitter support (#273)
* Add query for solidity

* Add solidity to readme treesitter supported list

* Add method in library

* 修改方法图标显示

* interface包含function

* Reformat solidity queries and add tests to solidity

---------

Co-authored-by: lightnlightning <lightning004@outlook.com>
Co-authored-by: lightnlightning <116029224+lightnlightning@users.noreply.github.com>
2023-06-25 09:26:17 -07:00
Steven Arcangeli
4b6da0b074 fix(ts)(julia): include namespace in function name if in declaration (#260) 2023-06-24 10:01:49 -07:00
Steven Arcangeli
4e7da79523 fix(ts)(julia): support for namespaced function definitions (#260) 2023-06-16 10:54:55 -07:00
Steven Arcangeli
79ebaf01eb fix(ts)(julia): support for namespaced short function definitions (260) 2023-06-02 08:47:54 -07:00
Steven Arcangeli
3a17406d9d ci: don't run usd test on nvim < 0.9.0 2023-05-17 04:15:41 -07:00
Steven Arcangeli
e16f739411 test: fix tests for USD backend 2023-05-17 01:01:24 -07:00
Colin Kennedy
924c0d8c01 Added USD relationship information to the unittests 2023-05-15 22:01:57 -07:00
Colin Kennedy
f88fb659a4 Added WIP USD-filetype unittests 2023-05-15 21:58:25 -07:00
Colin Kennedy
a3c227e681 Added USD related queries and tests 2023-05-15 21:36:35 -07:00
Steven Arcangeli
bc2bc8b5d0 fix: help parser has been renamed to vimdoc 2023-04-01 12:56:56 -07:00
Steven Arcangeli
ab85d57942
Merge pull request #229 from emmanueltouzery/symbol_scope
introduce symbol scope, use for elixir private
2023-03-18 15:48:56 -07:00
Emmanuel Touzery
aad9d05b8c introduce symbol scope, use for elixir private
fixes #225
2023-03-18 14:55:50 +01:00
Steven Arcangeli
1e0c546c2c feat(ts): treesitter supports variables in python (#227) 2023-03-15 22:03:57 -07:00
Emmanuel Touzery
9943fc88ed treesitter: support for arrow methods for JS/TS(X) 2023-02-24 20:07:20 +01:00
Emmanuel Touzery
94486d6f1d elixir: skip apidocs 2023-02-21 19:25:04 +01:00
Steven Arcangeli
06c6b4c8eb fix: enforce treesitter backend uses LSP SymbolKind values (#219) 2023-02-14 08:44:49 -08:00
Emmanuel Touzery
f2b04c7c2c elixir exunit, label test+describe 2023-02-07 17:41:08 +01:00
Emmanuel Touzery
391e68350d support for elixir exunit tests 2023-02-06 22:08:31 +01:00
Steven Arcangeli
9921808e0d
Merge pull request #216 from emmanueltouzery/elixir_treesitter_constants
elixir tree-sitter queries: add constants
2023-02-06 12:23:30 -08:00
Emmanuel Touzery
2f35f6f47a elixir constants: prepend @ 2023-02-06 16:56:02 +01:00
Steven Arcangeli
2b71abbcc3 feat: jest support for tsx (#47) 2023-02-05 12:03:24 -08:00
Emmanuel Touzery
7ea5a44778 elixir tree-sitter queries: add constants 2023-02-05 19:03:26 +01:00
Steven Arcangeli
960cf86d9a feat: jest support for typescript (#47) 2023-02-04 12:58:26 -08:00
Steven Arcangeli
30a64f8590 lint: stylua 2023-01-31 23:59:56 -08:00
Mika Raunio
6f186e4d12 Add tests for HTML and update README 2023-01-31 18:39:53 +02:00
Steven Arcangeli
490b574a66 fix: update tests for new norg parser 2023-01-03 22:18:11 -08:00
Dimitris Gianneler
8b8129e730
feat(java): add support for constructors 2022-12-30 15:22:30 +02:00