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