aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* ci: Nvim 0.10 macos artifact nameChristian Clason2024-05-171-3/+4
|
* fix(textproto): use 'pbtxt' filetype (#6427)Bruno BELANYI2024-04-111-1/+0
| | | | This is the actual name of the detected filetype.
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-10/+0
|
* fix(scripts): actually skip lockfile updatesObserverOfTime2024-03-122-10/+7
|
* feat(highlights)!: enforce documented captures (#6232)Christian Clason2024-03-031-12/+2
| | | | | | | | | | | | | | | 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.
* feat(format): extra newline after modelinePhạm Huy Hoàng2024-02-291-1/+16
|
* feat(format-scripts): linewrap predicates再生花2024-02-231-4/+39
| | | "format-ignore".kick()
* fix(scripts): add missing \n for nested groupingPhạm Huy Hoàng2024-02-201-6/+2
|
* fix(scripts): format-queries defaults to cwdChristian Clason2024-02-201-6/+4
|
* fix: typosdundargoc2024-02-191-1/+1
|
* fix(format): fix nested grouping indentation (#6128)Phạm Huy Hoàng2024-02-181-1/+6
|
* ci: fix invalid workflowdundargoc2024-02-104-22/+25
| | | | | | | | 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.
* ci: use M1 for macOSChristian Clason2024-01-311-0/+0
| | | | | | 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.
* fix(format): handle list with 300 nodesPhạm Huy Hoàng2024-01-301-15/+3
|
* fix(format): improve error messageChristian Clason2024-01-301-1/+2
|
* feat(tests): allow check-queries to take list of parsersChristian Clason2024-01-261-1/+1
| | | | `./scripts/check-queries.lua foo bar baz`
* fix(format-scripts): remove parens if possiblePhạm Huy Hoàng2024-01-211-1/+26
|
* Fixup format (#5934)Phạm Huy Hoàng2024-01-201-3/+4
| | | | | | | * fix(format): newline between top-level field defs * fixup: newline between node and comment * fixup: optimize pattern
* feat: query formatting scriptPham Huy Hoang2024-01-191-0/+396
| | | | | | | | 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
* test(queries): print ALL errors at endChristian Clason2024-01-191-12/+9
|
* feat(textproto): Add Textproto parser and queries (#5402)PorterAtGoogle2023-09-191-0/+1
| | | | | | | | | | | | | * 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>
* ci: add shebangs to scriptsObserverOfTime2023-08-186-11/+16
|
* feat(t32): re-enable testsChristoph Sax2023-07-301-1/+1
| | | | | | | | | - 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.
* fix(tests): mark t32 as allowed to failChristian Clason2023-07-291-1/+1
|
* feat: add HurlJacob Pfeifer2023-07-111-0/+1
| | | | | | | | | 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>
* feat(wing): add parser (#5021)Glib Shpychka2023-06-291-0/+1
| | | | Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* tests: fix failed tests (#4901)Pham Huy Hoang2023-06-051-0/+3
| | | fix failed tests for tiger, t32 and wgsl
* remove unnecessary ft ausPham Huy Hoang2023-05-151-6/+10
| | | | specify specific plugin files to load
* Added USD as a language + some queriesColin Kennedy2023-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* feat: add indents.scm for nickel (#4790)Zheng PiaoDan2023-05-131-0/+1
|
* style: fill in missing code docs wherever applicableAmaan Qureshi2023-02-242-1/+14
|
* Add treesitter CLI in CI with Windows and macKiyoon Kim2023-02-151-3/+0
|
* ci: improve CI output on query errorStephan Seitz2022-12-271-2/+3
|
* test: Add test name to summary outputRaymond Ha2022-12-131-1/+1
|
* ci: fix check for valid captureStephan Seitz2022-11-251-1/+1
| | | | Arguments to vim.startswith where swapped. Prefix has to go second.
* ci(readme): add experimental annotationObserverOfTime2022-11-201-1/+1
| | | | even when the grammar is unmaintained
* test: remove bundled parsers in CIChristian Clason2022-11-012-5/+5
| | | | ensure that queries are tested against parser version in lockfile
* ci: relax check for valid captures (only check prefixes)Stephan Seitz2022-09-291-1/+12
|
* chore: remove executable permissions on graphql spec file (#3206)Kiyan2022-07-221-1/+1
|
* ci(macos): update to upstream changes in releaseChristian Clason2022-06-261-1/+1
| | | | macOS release archive now uses `nvim-macos` as extracted directory.
* refactor!: update to Neovim 0.7 APIsChristian Clason2022-04-301-1/+1
| | | | | | | * set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
* ci: don't skip swift anymoreStephan Seitz2022-04-151-26/+22
| | | | I think this was a nvim 0.6 issue
* chore: update formatting for stylua updateStephan Seitz2022-04-021-3/+3
|
* Gleam indentation testsConnor Lay (Clay)2022-02-151-0/+1
|
* fix(makefile): add forgotten CXX_STANDARD againStephan Seitz2022-02-091-1/+2
|
* chore(makefile): apply fixes to original makefileStephan Seitz2022-02-081-9/+47
|
* fix: revert to basic makefile where all variables are set by LuaStephan Seitz2022-02-081-52/+9
| | | | Fixes #2463
* fix: -Os should be used during compilation phase in makefileStephan Seitz2022-02-081-3/+4
|
* ci: remove unnecessary apt callsDundar Göc2022-02-061-2/+0
|
* fix(makefile): scanner.c isn't always availablekylo2522022-02-041-4/+8
| | | | certain parsers like `tree-sitter-go` only contain parser.{c|cc}