You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed my nvim config for .tex files so that I use LuaSnip for these three delimiters {"()", "{}", "[]"} instead of nvim-autopairs.
One thing I can't seem to replicate (from nvim-autopairs) is the ability to remove both delimiters when the opening delimiter gets deleted and there is no text inside them.
For example, if I have () and I delete the opening parentheses (, I want both of the parentheses to be deleted.
How can I achieve this with LuaSnip? Thank you for your time!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all!
I changed my nvim config for .tex files so that I use LuaSnip for these three delimiters {"()", "{}", "[]"} instead of nvim-autopairs.
One thing I can't seem to replicate (from nvim-autopairs) is the ability to remove both delimiters when the opening delimiter gets deleted and there is no text inside them.
For example, if I have
()
and I delete the opening parentheses(
, I want both of the parentheses to be deleted.How can I achieve this with LuaSnip? Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions