aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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}
* ci: make io_print accept nil as input argument (#2445)dundargoc2022-02-041-0/+3
| | | | Convert nil to an empty string, which mimicks the behavior of standard print
* ci: skip swift check on neovim stableDundar Göc2022-01-311-22/+26
| | | | | | This is meant as a temporary workaround until neovim 0.7 is released. More context: https://github.com/nvim-treesitter/nvim-treesitter/issues/2313#issuecomment-1025258357
* ci: prefer io.write instead of print to have full control of outputDundar Göc2022-01-311-15/+21
| | | | This should prevent different output formats on windows and unix.
* ci: add folds to CI output to better group related informationDundar Göc2022-01-301-4/+7
|
* refactor(lockfile): use better jq parsingkylo2522022-01-251-5/+4
|
* refactor(makefile): better powershell handlingkylo2522022-01-251-9/+9
| | | | | | - add missing $(MKDIR) variable - create a simple function to allow running `make clean` without an error if a file doesn't exist
* test: use powershell by defaultkylo2522022-01-251-15/+16
|
* refactor(installer): more modular makefilekylo2522022-01-251-11/+43
| | | | | | | | - support both scanner.cc and scanner.c - allow complete override for (CFLAGS,CXXFLAGS,LDFLAGS) - add `clean` target - add `install` target - add windows support
* Set CXX standard per parser and fix NorgStephan Seitz2022-01-231-2/+4
|
* Allow compilation via makefileStephan Seitz2022-01-231-0/+16
|