summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/go.lua
diff options
context:
space:
mode:
author2025-05-02 16:05:47 +0300
committer2025-05-02 16:05:47 +0300
commit446d2716e7bb83e58fb516ec27e5c7750069e98c (patch)
tree3e2bdee9d79cf8495fde84a559d2b05bf7ca45b8 /nvim/lua/plugins/go.lua
parentСделал кейбинды (diff)
downloaddotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.gz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.bz2
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.xz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.zip
Перешел на lazy nvim, навел порядок в плагинах
Diffstat (limited to '')
-rw-r--r--nvim/lua/plugins/go.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/nvim/lua/plugins/go.lua b/nvim/lua/plugins/go.lua
new file mode 100644
index 0000000..1078297
--- /dev/null
+++ b/nvim/lua/plugins/go.lua
@@ -0,0 +1,12 @@
+return {
+ "ray-x/go.nvim",
+ dependencies = {
+ "ray-x/guihua.lua",
+ "neovim/nvim-lspconfig",
+ "nvim-treesitter/nvim-treesitter",
+ },
+ config = true,
+ event = { "CmdlineEnter" },
+ ft = { "go", "gomod" },
+ build = ':lua require("go.install").update_all_sync()',
+}