| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Not easy to run all checks and tests locally. Redundant CI
workflows.
Solution: Separate CI into two workflows:
* lint: Lua files (stylua, luals), query files (valid captures,
predicates, directives using tsqueryls), docs
(SUPPORTED_LANGUAGES.md) -- does not need parser installation
* tests: parsers (ABI compatibility), query files (tsqueryls on
Linux/macOS; nvim on Windows), highlight and indent tests (separated
for better readability) -- needs parser installation (but only once)
Switch to https://github.com/nvim-treesitter/highlight-assertions fork
with ABI 15 support.
Run all tests (on Linux and macOS) through `make` (`formatlua`,
`checklua`, `lintquery`, `formatquery`, `checkquery`, `docs`, `tests`),
which downloads and caches all necessary dependencies.
Remove `update-readme` workflow (replaced by lint job on PRs).
|
| |
|
|
|
|
|
|
| |
Instead, call `require('nvim-treesitter').install( { ... } )` manually.
This gives users full control over how they want to install parsers
(sync, from grammar, limited concurrency) and obviates the need for
calling `setup` for most users.
|
| | |
|
| | |
|
| |
|
|
| |
This is the actual name of the detected filetype.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Add textproto parser and queries
* remove extra newline
* Apply suggestions from code review
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
---------
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
|
| |
|
|
|
|
|
|
|
| |
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
---------
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
|
| |
|
|
| |
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
|
| |
|
| |
fix failed tests for tiger, t32 and wgsl
|
| |
|
|
| |
specify specific plugin files to load
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added USD highlight unittests
Added USD indentation
Added USD indents.scm file
Added USD indent rules
Simplified USD highlight groups
Added explicit highlight groups
Added newline
Removed after/ftdetect/usda.lua
usd/indents.scm - Added inline comments explaining the nodes
Fixed USD highlight group unittests
Added indentation unittests
Simplified USD `@identifier` highlighting
Added USD documentation highlight group tests
Simplified USD highlight groups
Moved USD `@identifier` and `@namespace` highlights into one place
Removed and simplified tests/query/highlights/usd
Simplified tests/query/highlights/usd more
Removed trailing newline
Combined USD test files
Added `set filetype=usd` to minimal_init.lua
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* set highlight groups via nvim_set_hl
* define autocommands via nvim_create_autocmd
* port plugin/nvim-treesitter.vim to Lua
* port healthcheck to Lua
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|