aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/minimal_init.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(tests)!: new infrastructure based on makefileChristian Clason2025-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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).
* feat(setup)!: remove ensure_install fieldChristian Clason2025-05-121-3/+0
| | | | | | | | 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.
* ci: remove update-lockfile shell scriptChristian Clason2025-05-121-2/+3
|
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-18/+18
|
* fix(textproto): use 'pbtxt' filetype (#6427)Bruno BELANYI2024-04-111-1/+0
| | | | This is the actual name of the detected filetype.
* 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>
* 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
|
* chore: remove executable permissions on graphql spec file (#3206)Kiyan2022-07-221-1/+1
|
* 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
* Gleam indentation testsConnor Lay (Clay)2022-02-151-0/+1
|
* remove ftdetect. add filetype hocon to minimal_init.luaantosha4172022-01-161-0/+2
|
* ci: Remove "ensure_installed" from minimal_init.luaStephan Seitz2021-12-201-1/+0
|
* ci: Add workflow for testsStephan Seitz2021-11-241-0/+1
|
* Use stylua for autoformat code (#1480)Santos Gallegos2021-07-041-3/+3
|
* scripts: fix wrong swapfile setting in minimal_initJędrzej Boczar2021-04-231-1/+2
|
* Initial sketch of automated indent testsJędrzej Boczar2021-04-231-0/+10