gopher.nvim/Taskfile.yml
Smirnov Oleksandr 77754fe362
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
2025-03-23 19:06:13 +02:00

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!"