mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
update nvim config
This commit is contained in:
parent
6c7551640d
commit
07a49ce2d2
16 changed files with 157 additions and 46 deletions
14
nvim/lua/plugins/go.lua
Normal file
14
nvim/lua/plugins/go.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"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'},
|
||||
build = ':lua require("go.install").update_all_sync()'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue