chore(nvim): use = in visual mode to Neoformat

main
sudo pacman -Syu 2023-10-29 01:36:42 +07:00
parent 7e62c9d5a3
commit 805249e36f
1 changed files with 3 additions and 0 deletions

View File

@ -361,6 +361,9 @@ require("lazy").setup({
vim.g.neoformat_enabled_zsh = { "shfmt" }
vim.g.shfmt_opt = "-ci"
end,
config = function()
vim.keymap.set("v", "=", ":Neoformat<CR>")
end,
},
-- https://github.com/nvim-treesitter/nvim-treesitter