smartparens
smartparens copied to clipboard
Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
In LaTeX-mode, parens that follow double backslashes (newlines) are not matched correctly. For example, in tabular environment, I sometimes use `\\[1cm]` to add a custom spacing between successive rows. ##...
`sp-previous-sexp` behaves differently in normal and insert states, depending on the layout of the same form. In evil insert state, if you position the point on the closing paren of...
Is there a way to turn off auto balancing for certain characters? When writing Common Lisp, or well most Lisps, it is pretty common to want to insert a single...
I am using smartparens with AUCTeX in emacs. I was going through the `smartparens-latex.el` file and trying out some of the code in there. Let me consider code in lines...
Are you interested in rjsx-mode interop support? I've cobbled together a hacky smartparens-jsx.el from smartparens-html.el and smartparens-javascript.el and eval-after-loaded it in rjsx-mode, and it works beautifully. Seeing as how a...
I have observed this in text-mode and org-mode; it does not happen in fundamental-mode. EDIT - I just realized that C-y was bound to whole-line-or-region-yank (from whole-line-or-region.el). The behavior described...
This could be used to support prefixes such as `if (...)` for `{}` pairs in C-like languages. This would in turn enable better slurping and barfing.
## Expected behaviour Should transpose the adjacent lines ## Steps to reproduce the problem ```elisp ffo | foo baz ``` Call `sp-transpose-hybrid-sexp`, it will error.
See https://github.com/xmonad/xmonad-contrib/labels