Skip to content

Commit

Permalink
config(nvim): experiment with go.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Apr 4, 2024
1 parent a32a2c0 commit 9be8e77
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,19 @@ require("lazy").setup({
})
end,
},

-- https://github.com/ray-x/go.nvim
{
"ray-x/go.nvim",
dependencies = {
"ray-x/guihua.lua",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("go").setup()
end,
event = { "CmdlineEnter" },
ft = { "go", "gomod" },
},
})

0 comments on commit 9be8e77

Please sign in to comment.