chore: add note about lazy loading
This commit is contained in:
parent
7172cf98bb
commit
d3c2ede434
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ Requirements:
|
||||||
- [Go](https://github.com/golang/go) installed (tested on 1.23)
|
- [Go](https://github.com/golang/go) installed (tested on 1.23)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
-- NOTE: this plugin is already lazy-loaded, it adds only about 1ms of load
|
||||||
|
-- time to your config
|
||||||
{
|
{
|
||||||
"olexsmir/gopher.nvim",
|
"olexsmir/gopher.nvim",
|
||||||
ft = "go",
|
ft = "go",
|
||||||
|
|
@ -25,6 +27,7 @@ Requirements:
|
||||||
build = function()
|
build = function()
|
||||||
vim.cmd.GoInstallDeps()
|
vim.cmd.GoInstallDeps()
|
||||||
end,
|
end,
|
||||||
|
---@module "gopher"
|
||||||
---@type gopher.Config
|
---@type gopher.Config
|
||||||
opts = {},
|
opts = {},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue