Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicts with nvim-autopairs #1285

Open
LilleAila opened this issue Jan 14, 2025 · 0 comments
Open

Conflicts with nvim-autopairs #1285

LilleAila opened this issue Jan 14, 2025 · 0 comments

Comments

@LilleAila
Copy link

LilleAila commented Jan 14, 2025

If i have a snippet set to for example lr(, which expands to \left( $1 \right), with nvim-autopairs installed, it adds another ) at the end, so that my expanded snippet becomes \left( $1 \right)). This seems to be because both luasnip and nvim-autopairs handle the (-character and expand it at the same time. Is there any way around this?

this is the snippet in question, but seems to happen for all snippets containing a delimiter that gets expanded by nvim-autopairs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant