chore(config): add workaround for neovim

https://github.com/neovim/neovim/issues/16416
main
sudo pacman -Syu 2022-05-29 13:34:29 +07:00
parent 40c861e7d5
commit f520720624
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ vim.opt.guifont = {
"Fira Code:h18",
}
-- Workaround
-- https://github.com/neovim/neovim/issues/16416
vim.keymap.set("i", "<C-c>", "<Esc>")
-- https://neovim.io/doc/user/lua.html#lua-vim-variables
-- https://github.com/mvdan/gofumpt#vim-go
vim.g.go_gopls_gofumpt = 1