+8
-3
README.md
+8
-3
README.md
···
23
- Treesitter parser for `go`(`:TSInstall go` if you use [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter))
24
- [Go](https://github.com/golang/go) installed
25
26
```lua
27
-
-- NOTE: the plugin is already lazy-loaded
28
-
-- it adds ~1ms to startup time
29
{
30
"olexsmir/gopher.nvim",
31
ft = "go",
32
-- branch = "develop"
33
-
-- (optional) will update plugin's deps on every update
34
build = function()
35
vim.cmd.GoInstallDeps()
36
end,
···
23
- Treesitter parser for `go`(`:TSInstall go` if you use [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter))
24
- [Go](https://github.com/golang/go) installed
25
26
+
> [!IMPORTANT]
27
+
> If you prefer using other forges, this repository is also mirrored at:
28
+
> - [tangled.org](https://tangled.org): [`https://tangled.org/olexsmir.xyz/gopher.nvim`](https://tangled.org/olexsmir.xyz/gopher.nvim)
29
+
> - [codeberg.org](https://codeberg.org): [`https://codeberg.org/olexsmir/gopher.nvim`](https://codeberg.org/olexsmir/gopher.nvim)
30
+
31
```lua
32
+
-- NOTE: this plugin is already lazy-loaded and adds only about 1ms
33
+
-- of load time to your config
34
{
35
"olexsmir/gopher.nvim",
36
ft = "go",
37
-- branch = "develop"
38
+
-- (optional) updates the plugin's dependencies on each update
39
build = function()
40
vim.cmd.GoInstallDeps()
41
end,