mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
feat: Rearranges nvim configuration
This commit is contained in:
19
nvim/m-housh/lua/plugins/go.lua
Executable file
19
nvim/m-housh/lua/plugins/go.lua
Executable file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
"ray-x/go.nvim",
|
||||
enabled = false,
|
||||
lazy = true,
|
||||
dependencies = { -- optional packages
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
'mfussenegger/nvim-dap',
|
||||
'rcarriga/nvim-dap-ui',
|
||||
'theHamsta/nvim-dap-virtual-text',
|
||||
},
|
||||
config = function()
|
||||
require("go").setup()
|
||||
end,
|
||||
--event = {'BufReadPre', 'BufNewFile'},
|
||||
ft = {"go", 'gomod'},
|
||||
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
|
||||
}
|
||||
Reference in New Issue
Block a user