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

Not playing well with auto pairs #23

Open
KCkingcollin opened this issue Jan 11, 2025 · 4 comments
Open

Not playing well with auto pairs #23

KCkingcollin opened this issue Jan 11, 2025 · 4 comments

Comments

@KCkingcollin
Copy link

KCkingcollin commented Jan 11, 2025

for some reason it sometimes thinks its at the end of a line or something when a set of pairs are spawned, and it proceeds to delete everything after the last cursor position when i try to use, Esc, then S-a, then space, when inside some pairs like () and sometimes {}

@KCkingcollin
Copy link
Author

also, would be nice to be able to optionally disable the = functionality, that also causes more problems than it fixes some times

@KCkingcollin
Copy link
Author

update: I think it only happens when the cursor is outside some brackets like "()|" in a unfinished if statement
if (test > 1)| becomes if (test=|, but if i do if (test > 1) {|} then nothing happens. this really messes with my flow because i always add a space after the ) before the {

@filNaj
Copy link
Owner

filNaj commented Jan 11, 2025

Unfortunately I currently don't have time to work on this project as I'm the only one who was maintaining it. However, if you're interested, you can fork the repo and play around with it to solve your issue, and create a pull request :)

@KCkingcollin
Copy link
Author

Unfortunately I currently don't have time to work on this project as I'm the only one who was maintaining it. However, if you're interested, you can fork the repo and play around with it to solve your issue, and create a pull request :)

I would normally like to tbh, but despite my entire config being in lua, i don't actually know it very well lol, and worse I don't know the first think about the neovim api.

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

2 participants