Matus Goljer

Results 743 comments of Matus Goljer

I think the problem here is that there is also a pair `\[` for the math environment, and it picks this as the "possible opener" instead of just matching `[`....

I think the simplest would be to make the `\[` pair be ignored if there is one more slash in front, so something like your last proposal. This can be...

I've debugged it a bit and the problem is with the global skip function `sp--backslash-skip-match` which automatically ignores any pair prefixed with a `\`. This needs to be adjusted for...

Yes, please open a PR. I got a bit lost as we started splitting the work. Also close the other one if it has no additional work. Thanks!

@TobiasZawada What you describe is a different problem I think. I don't guard the case where the trigger is also a pair prefix :/ We should probably open a different...

You can disable smartparent's autocompletion of `>`, look at `sp-local-pair`.

Hm. Can you please once again explain what keys exactly you type? The problem might also be in the code that checks skipping closed pairs in SP, but I'm not...

Easier solution might be to add a hook to smartparens that deletes the closing `>` when you enter `/` right after `

> and the SP source looks strange to me don't worry, it's like that for everyone.

It must be saved before any command chaning the buffer content is executed as those might break the string symmetry. Getting rid of it would be best and I already...