| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
This is the actual name of the detected filetype.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Allowing undocumented "secret" (sub)captures makes it harder
to write comprehensive colorschemes and catch inconsistent captures.
Solution: Only allow captures listed in CONTRIBUTING.md. Add useful
(cross-language) subcaptures and drop language-specific or too niche
ones.
Follow-up: Adding further `*.builtin` captures and changing queries to
use them.
Language-specific subcaptures should instead be added in user config or
a custom language plugin.
|
| | |
|
| |
|
| |
"format-ignore".kick()
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Context variables aren't always available, so we can't rely on them for
e.g. environment variables.
Also merge all install scripts into `script/ci-install.sh`, that way it
can be called the same way regardless of system.
|
| |
|
|
|
|
| |
GH Actions runners use M1 hardware for `macos-14` now. Since macOS is
one of the slowest platforms for parser compilation, switching should
give us not only ARM coverage but also shorter CI times.
|
| | |
|
| | |
|
| |
|
|
| |
`./scripts/check-queries.lua foo bar baz`
|
| | |
|
| |
|
|
|
|
|
| |
* fix(format): newline between top-level field defs
* fixup: newline between node and comment
* fixup: optimize pattern
|
| |
|
|
|
|
|
|
| |
Usage:
- nvim -l scripts/format-queries.lua /path/to/file.scm
- nvim -l scripts/format-queries.lua /path/to/dir
fixup: add `format-ignore` directive to query/highlights.scm
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- Switch to GitLab mirror repository
- Lock grammar version 2.2.0
- Revert "fix(tests): mark t32 as allowed to fail"
This reverts commit ba223ceecc5d66312780c45079b6ae55c406fa96.
- Revert "fix(tests): remove t32 tests"
This reverts commit 97957a547b93412411ba3a8a9abd27589247c869.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Arguments to vim.startswith where swapped. Prefix has to go second.
|
| |
|
|
| |
even when the grammar is unmaintained
|
| |
|
|
| |
ensure that queries are tested against parser version in lockfile
|
| | |
|
| | |
|
| |
|
|
| |
macOS release archive now uses `nvim-macos` as extracted directory.
|
| |
|
|
|
|
|
| |
* set highlight groups via nvim_set_hl
* define autocommands via nvim_create_autocmd
* port plugin/nvim-treesitter.vim to Lua
* port healthcheck to Lua
|
| |
|
|
| |
I think this was a nvim 0.6 issue
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #2463
|
| | |
|
| | |
|
| |
|
|
| |
certain parsers like `tree-sitter-go` only contain parser.{c|cc}
|