fix: nightly(0.11) (#104)

* chore: fix minimal_init, load default plugins correctly

* refactor(ts): make it work on nightly

* chore: get nightly back in ci

* fix(tests): some how i now i need to run vim.treesitter.start() to make it work

* feat(ts): check if parser is found

* chore: use --clean instead --noplugin

* refactor(tests): use auto commands instead of putting it in each test

* chore: show the diff of the doc
This commit is contained in:
Smirnov Oleksandr 2025-03-23 19:06:13 +02:00 committed by GitHub
parent c0b2834652
commit 77754fe362
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 39 additions and 26 deletions

View file

@ -20,7 +20,7 @@ tasks:
desc: run all tests
cmds:
- |
nvim --headless \
nvim --clean --headless \
-u ./scripts/minimal_init.lua \
-c "lua MiniTest.run()"
@ -28,8 +28,7 @@ tasks:
desc: generate vimhelp
cmds:
- |
nvim --noplugin \
--headless \
nvim --clean --headless \
-u "./scripts/minimal_init.lua" \
-c "luafile ./scripts/docgen.lua" \
-c ":qa!"