add dadbod
This commit is contained in:
parent
63574e3acf
commit
bbf96f56b8
4 changed files with 58 additions and 26 deletions
|
|
@ -9,10 +9,11 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
-- local gofmt = require("go.format")
|
||||
require("go").setup()
|
||||
|
||||
-- vim.keymap.set('n', 'gF', gofmt.goimport, { desc = 'Go Import' })
|
||||
local gofmt = require("go.format")
|
||||
|
||||
vim.keymap.set('n', 'gF', gofmt.goimport, { desc = 'Go Import' })
|
||||
end,
|
||||
event = { "CmdlineEnter" },
|
||||
ft = { "go", 'gomod' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue