smartparens
smartparens copied to clipboard
Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
Let's put a two second cap on the parser so that emacs don't hang forever in a buffer with exceptionally large sexp.
## Expected behavior Pressing '(' with text selected should wrap in parens ## Actual behavior Most of the time it works. Then the the problem described below will start happening,...
`sp-show--pair-function` can be relatively slow (150ms in some of my files). When using `show-smartparens-mode` this can be stutters in moving around or typing if it kicks in. I've had a...
Sorry if this feature was asked or presented in Smartparens, I was unable to find it, and hack upon Smartparens to implement it myself. This is similar to https://github.com/Fuco1/smartparens/issues/508 #...
This has been annoying me for some while now. This behavior only happens when `sp-kill-whole-line` kill the whole line of text. After killing a line with `sp-kill-whole-line`, a new line...
## Expected behavior Pressing the double quote key will insert a pair of double quotes and position the cursor between them in org-mode as it does in other buffers. ##...
## Expected behavior `(sp-local-pair 'rust-mode "'" nil :actions :rem)` Should run but doesn't. This does work though: `(sp-pair "'" nil :actions :rem)` ## Actual behavior ``` Debugger entered--Lisp error: (wrong-type-argument...
Hi, ## Expected behavior Be able to treat "generalized strings" (delimited by characters with the syntax property `string-fence`) as paired expression. ## Actual behavior Such strings are not recognized without...
I assume this is somehow related to #813 ## Expected behavior ``` c("test", "one") ``` with point on the " after one" and run sp-backward-kill-word should kill one ## Actual...
Emacs27.0.91 Suppose the cursor is at |, and the text is ( ), so we have ( | ) when we type ), the desired behavior would be: ( )...