refactor: minimize amount of vimscript (#96)

* 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
This commit is contained in:
Smirnov Oleksandr 2025-03-21 21:44:42 +02:00 committed by GitHub
parent c5cc5080fa
commit 9aa0038125
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 108 additions and 50 deletions

View file

@ -61,6 +61,10 @@ You can look at default options |gopher.nvim-config-defaults|
---@type number
timeout = 2000,
--- whether to setup plugin commands or not
---@type boolean
setup_commands = true,
-- user specified paths to binaries
---@class gopher.ConfigCommand
commands = {