Matus Goljer

Results 728 comments of Matus Goljer

Something like this should theoretically work ```elisp (defun sp-check-parens () (interactive) (goto-char (point-min)) (while (sp-forward-sexp)) (sp-skip-forward-to-symbol)) ``` unless there are of course bugs in the parser (there are some issues...

If we disable it like this then turning sp back on would not re-enable strict mode, which is what I would expect. That is, if I enable strict mode for...

Is there, then, any reason not to call `(smartparens-strict-mode -1)`. Or do you want it for hooks? Notice that calling this won't turn off `smartparens-mode` so you would need to...

Maybe SP could have its own extra local variable which would track if the strict mode was on when sp was being disabled and re-enable it according to that. So...

Right, the issue is more that if you had strict mode before and you toggle both off with just call to `turn-off-smartparens-mode`, calling `turn-on-smartparens-mode` (or just `(smartparens-mode 1)` should also...

I'm going to change the behaviour in the following way: 1. If you turn on strict mode, it will automatically enable `smartparens-mode` if it wasn't already on (this already seems...

The points from the above comment are now implemented.

I think this is a valid idea and might be useful for some people. Thanks for bringing it up to our attention. I'm not against having this in SP per...

Most lisp buffers are configured with this snippet ```elisp (sp-with-modes (-difference sp-lisp-modes sp-clojure-modes) ;; also only use the pseudo-quote inside strings where it serve as ;; hyperlink. (sp-local-pair "`" "'"...

Oh, and the problem you had is actually this snippet here ```elisp (sp-with-modes sp-lisp-modes ;; disable ', it's the quote character! (sp-local-pair "'" nil :actions nil)) ``` So in the...