mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 19:30:01 +02:00
touched the nvim, alot.
This commit is contained in:
parent
4c1b128c96
commit
13e4207ef5
28 changed files with 288 additions and 145 deletions
15
nvim/lua/plugins/lang/go.lua
Normal file
15
nvim/lua/plugins/lang/go.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"ray-x/go.nvim",
|
||||
main = "go",
|
||||
dependencies = {
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function(opts)
|
||||
require('go').setup(opts)
|
||||
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