mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Added go.nvim, updated ts script to accept a session argument
This commit is contained in:
15
nvim/m-housh/lua/user/plugin/go.lua
Normal file
15
nvim/m-housh/lua/user/plugin/go.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"ray-x/go.nvim",
|
||||
lazy = true,
|
||||
dependencies = { -- optional packages
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require("go").setup()
|
||||
end,
|
||||
event = {"CmdlineEnter"},
|
||||
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