mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 15:51:13 +00:00
10 lines
234 B
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 = "🏃" },
|
|
})
|