mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 11:30:02 +02:00
new nvim config
This commit is contained in:
parent
4b730d3924
commit
7388c9bfd3
78 changed files with 1291 additions and 43 deletions
15
nvim-old/lua/plugins/lang/go.lua
Normal file
15
nvim-old/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