smartparens
smartparens copied to clipboard
Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
This doesn't happen with electric pair ## Expected behavior rust-analyzer's automatic wrapping works. Screencast with smartparens off (move the cursor to the left of `1` and press `{`: https://user-images.githubusercontent.com/36493671/230092833-9a7f295f-8a7c-4407-a0b6-78c6e0fe685f.mp4 ##...
I think this is self-explanatory, but you need to escape $ to get a literal dollar sign and we don't want the pair in this case (for math mode).
## Actual behavior I've had slow text insertion for a while in my emacs setup and I finally traced it back to smartparens. For example, with `smartparens-latex` loaded, inserting any...
## Expected behavior In a scheme-mode buffer containing only ``` ((?)) ``` M-x goto-char 6 M-x sp-forward-sexp I would expect the point to be at the very first character. ##...
## Expected behavior Modify `smartparens-latex.el` to contain the following additional local pair definition: ``` (sp-local-pair "\\left\\langle" "\\right\\rangle" :post-handlers '(sp-latex-insert-spaces-inside-pair)) ``` Open a LaTeX-mode buffer containing `$\left\langle \right\rangle$`. Put the cursor...
Some test must be removed for insertion otherwise it is impossible to insert `=>` just by typing.
See #1201 - [ ] FAILED sp-test-command-sp-comment-1-1 - [ ] FAILED sp-test-command-sp-comment-1-2 - [ ] FAILED sp-test-command-sp-comment-1-3 - [ ] FAILED sp-test-command-sp-comment-1-4 - [ ] FAILED sp-test-command-sp-split-sexp-2-4 - [x] FAILED...
## Expected behavior Suppose I am editing a comment in a latex file, e.g., ```latex Blah blah % here is a comment (|) blah blah ``` where point is at...