Commit graph

37 commits

Author SHA1 Message Date
Riley Bruins
6612e42891 docs: README typo
sorry clason
2025-04-22 09:33:35 -07:00
Riley Bruins
a1d94fe604 feat: traverse up file tree to find config file 2025-04-21 22:11:16 -07:00
Riley Bruins
0aa1fe6a60 feat: support env var expansion for parser installation paths 2025-04-21 21:25:53 -07:00
Riley Bruins
a2d0b72545 fix!: rework allowable_captures
Rename to `valid_captures`, and change the type to a simple map from
capture name to capture description
2025-04-21 21:07:33 -07:00
Riley Bruins
6580213304 feat!: tsqueryrc.json -> .tsqueryrc.json
Configuration files should stay hidden.
2025-04-21 21:07:33 -07:00
Riley Bruins
99b10a6cc1 feat: partial support for capture name validation
Currently not support by the `check` subcommand, nor autocompletions or
hover.
2025-04-20 15:33:23 -07:00
Riley Bruins
ad48630b8f feat: read from config file in check command 2025-04-20 09:22:11 -07:00
Riley Bruins
457ed9efd5
feat: basic config file support (#59) 2025-04-19 21:35:20 -07:00
Riley Bruins
5e25fd7d55
feat: standalone linter (#50)
Allows the server to act as a standalone linter for query files. Useful
for CI.

Note that the linter ignores Rust-binding specific predicate errors,
since predicate usage is largely dependent on the implementation on the
consumer's side.
2025-03-10 15:56:10 -07:00
Riley Bruins
d5330a005b
feat: standalone formatter (ts_query_ls format) (#49)
Allows the language server to act as a standalone formatter by passing
the `format` argument. It will then take a list of directories to
format, and a formatting "mode" (whether to just check the files or
actually format them). Formatting is parallelized, and quite quick for
large query repositories like `nvim-treesitter`.
2025-03-10 10:25:59 -07:00
Riley Bruins
23983d7558 docs: show how to disable the query linter for Neovim
Also update the packaging status for some platforms
2025-02-10 21:59:20 -08:00
Riley Bruins
21fe5453f4 docs: mark subtype goals as complete 2025-02-01 12:03:22 -08:00
Riley Bruins
eedc057466
feat: recognition of supertype nodes (#25) 2025-01-31 19:41:14 -08:00
Riley Bruins
291c4826ad
test: document highlight tests (#16) 2024-12-02 13:04:09 -08:00
Riley Bruins
e41dd52731 refactor: modularize server handlers 2024-12-02 11:59:04 -08:00
Will Lillis
d2ba11ca84
feat: implement goto definition for captures (#4)
* feat: implement goto definition for captures

* chore: update README checklist
2024-11-20 18:54:30 -08:00
Riley Bruins
b140c3c0ac docs: mention more goals 2024-11-18 08:36:18 -08:00
Riley Bruins
42bf128a30 docs: update packaging progress 2024-11-13 12:14:50 -08:00
Riley Bruins
15ecb4189e ci: workflow to upload release artifacts 2024-11-10 21:47:02 -08:00
Riley Bruins
dc4b8f20c8 docs: clarify packaging goals 2024-11-10 10:18:12 -08:00
Riley Bruins
f3fe133bfe docs: mention goal to add tests 2024-11-07 12:34:45 -08:00
Riley Bruins
0c3615b18a docs: mention code packaging goals 2024-11-04 10:44:42 -08:00
Riley Bruins
cdd8277c92 docs: better example 2024-10-23 15:28:25 -07:00
Riley Bruins
bf4ff2e36a feat: option to specify language retrieval patterns 2024-10-22 19:57:27 -07:00
Riley Bruins
6ad2fbd341 feat: document formatting
Based on @lucario387's `nvim-treesitter` formatter
2024-10-22 13:59:35 -07:00
Riley Bruins
62f8eaa58f feat: diagnostics for undefined capture names 2024-10-21 10:05:11 -07:00
Riley Bruins
19fb1254b0 docs: fix example 2024-10-21 09:21:22 -07:00
Riley Bruins
ee30184136 feat: diagnostics for unrecognized nodes, incorrect syntax 2024-10-21 00:26:20 -07:00
Riley Bruins
042dfd5e31 feat: completions for field names 2024-10-20 18:41:42 -07:00
Riley Bruins
1ca9cd780d docs: better example 2024-10-20 14:02:39 -07:00
Riley Bruins
44b954540b feat: parser alias configuration option 2024-10-20 10:25:13 -07:00
Riley Bruins
3ea482c88c feat: support parsers built for WASM 2024-10-20 10:25:08 -07:00
Riley Bruins
ee348a599c feat: configure parser installation paths 2024-10-20 09:03:57 -07:00
Riley Bruins
4976819c9c docs: update goals 2024-10-20 09:02:35 -07:00
Riley Bruins
5d20ed1a56 fix: apply InputEdits in proper order
Otherwise edits past the end of the old document would crash the LSP.
Thank you `jinja-lsp`!
2024-10-20 09:02:35 -07:00
Riley Bruins
2abe8fef7e fix: robustly handle UTF-16 code points 2024-10-20 09:02:35 -07:00
Riley Bruins
c18428526b docs: README 2024-10-20 09:02:35 -07:00