1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-14 21:41:13 +00:00
dotfiles/.config/nvim/lua/user/go.lua

10 lines
234 B
Lua

local status_ok, go = pcall(require, "go")
if not status_ok then
return
end
vim.cmd("autocmd FileType go nmap <Leader>gf :lua require('go.format').goimport()<CR>")
go.setup({
icons = { breakpoint = "", currentpos = "🏃" },
})