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

How can I prevent it from autoclosing when the previous carachter is a letter? #55

Open
Hund opened this issue Mar 23, 2024 · 3 comments

Comments

@Hund
Copy link

Hund commented Mar 23, 2024

Typing the word Can't will result in Can't'. How can I prevent this from happening?

@jkaye2012
Copy link

Came here for the same question!

@telemachus
Copy link
Contributor

You can always insert a single character (without triggering the plugin) if you enter <C-v><character>. For example, <C-v>'.

See :help i_CTRL-V.

@27theo
Copy link

27theo commented May 24, 2024

Not quite the sought after fix, but I've been happy since disabling auto-pairing of single quotes ('). I only really need the plugin for parentheses and brackets anyway.

See: https://github.com/m4xshen/autoclose.nvim?tab=readme-ov-file#-configuration > Example: Remove the escape function...

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

4 participants