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