* refactor: remove autoload * since nvim 0.9 health.lua files are threaded as checkhealth provider * prof of concept * fix(runner.gocmd)!: i forgot to update it when i was working on #85 * fix(plugin): now commands register properly * fix(plugin): fix command name for :GoIfErr * fix(plugin): respect `setup_commands` option * docs: update * refactor(plugin): use vim.schedule * docs: update CONTRIBUTING
35 lines
641 B
YAML
35 lines
641 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 --headless \
|
|
-u ./scripts/minimal_init.lua \
|
|
-c "lua MiniTest.run()"
|
|
|
|
docgen:
|
|
desc: generate vimhelp
|
|
cmds:
|
|
- |
|
|
nvim --noplugin \
|
|
--headless \
|
|
-u "./scripts/minimal_init.lua" \
|
|
-c "luafile ./scripts/docgen.lua" \
|
|
-c ":qa!"
|