* 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
34 lines
631 B
YAML
34 lines
631 B
YAML
version: "3"
|
|
tasks:
|
|
lint:
|
|
desc: runs all linters
|
|
cmds:
|
|
- task: selene
|
|
- stylua --check .
|
|
|
|
selene:
|
|
desc: runs lua linter(selene)
|
|
cmds:
|
|
- selene .
|
|
|
|
stylua:
|
|
desc: runs lua formatter
|
|
cmds:
|
|
- stylua .
|
|
|
|
tests:
|
|
desc: run all tests
|
|
cmds:
|
|
- |
|
|
nvim --clean --headless \
|
|
-u ./scripts/minimal_init.lua \
|
|
-c "lua MiniTest.run()"
|
|
|
|
docgen:
|
|
desc: generate vimhelp
|
|
cmds:
|
|
- |
|
|
nvim --clean --headless \
|
|
-u "./scripts/minimal_init.lua" \
|
|
-c "luafile ./scripts/docgen.lua" \
|
|
-c ":qa!"
|