smartparens
smartparens copied to clipboard
Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
## Expected behavior want to keep python-mode's bindings because it's more python specific ## Actual behavior smartparens default bindings override python bindings ## Steps to reproduce the problem activate smartparens...
Emacs 29 introduced treesitter programming modes. This updates the list of modes where a reindent shouldn't be performed after kill to take that into account.
Default behavior of `sp-forward-slurp-sexp` and related functions in C-like modes is wrong, at least unless you apply special configuration to fix it. In comparison, everything works correctly out-of-the-box if you...
Hi! This fixes https://github.com/Fuco1/smartparens/issues/1100; well, it disables some features of `smartparens` for latex modes. The PR also includes some other nits and changes. Let me know if I should exclude...
I noticed quite a few commands fail with a generic error when point is not enclosed by a sexp. E.g. call `sp-forward-barf-sexp` when not inside parens, and you will see:...
### Discussed in https://github.com/Fuco1/smartparens/discussions/1163 Originally posted by **Patrick-Poitras** May 21, 2023 Hello. I'd like for the behavior of inserting a pair with a highlighted region to be replacing the region...
This option will cause `sp-forward-parallel-sexp` and `sp-backward-parallel-sexp` to raise a `user-error` when hitting the end of the enclosing sexp, rather than looping back to the other end. Fixes Fuco1#1038.
## Expected behavior When working with list expressions in the minibuffer, if I have a set of parenthesis `()`, and the cursor is inside the expression, `sp-unwrap-sexp` should unwrap the...
Hi and thanks for the great package :) 🙏 I'm not sure if this is feasible but I figured I'd raise an issue to see what others think, or if...
I use the following file: ``` \documentclass{article} \usepackage{minted} \newmintinline[pyinline]{python}{} \begin{document} \section{ \pyinline{foo} and \pyinline{bar} } \end{document} ``` And from within there `sp-backward-up-sexp` signals a message: `Search failed: there is an...