My Neovim Plugins – autopairs.lua
I thought of trying a little series and showing off some neovim plugins I use on a daily basis.
To start somewhere, I'll go alphabetically with autopairs.lua.
Config
return {
"windwp/nvim-autopairs",
opts = {
fast_wrap = {
highlight = "IncSearch",
}, -- setup function and press <M-e> to use fast_wrap
check_ts = true,
map_c_h = true,
},
}
For autopairs, I like it if it doesn't get in my way, and autopairs.lua
does a good job here. The feature I love the most is fast_wrap
. You simply hit <M-e
and it will ask you where you want to wrap it. Simple and clean. :)
That's it. A plugin I wish would be shipped with Neovim already.
61 of #100DaysToOffload
Thoughts? Discuss...