Awesome
electric-quotes.nvim
See https://www.gnu.org/software/emacs/manual/html_node/emacs/Quotation-Marks.html
How it works
It automatically converts
This | Into |
---|---|
` | ‘ |
`` | “ |
' | ’ |
'' | ” |
Command
ElectricQuotesToggle
is exposed, to enable and disable the plugin (it has to be enabled to work).
Installation
Lazy
{
'shadyalfred/electric-quotes.nvim',
dependencies = {
'uga-rosa/utf8.nvim',
},
cmd = 'ElectricQuotesToggle',
}
Packer
use {
'shadyalfred/electric-quotes.nvim',
requires = {
'uga-rosa/utf8.nvim',
}
}