We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This doesn't happen with electric pair
rust-analyzer's automatic wrapping works. Screencast with smartparens off (move the cursor to the left of 1 and press {:
1
{
rust-analyzer's automatic wrapping doesn't work. Screencast with smartparens on:
Sometimes I get this:
(use-package smartparens :hook (rust-mode c++-mode c-mode css-mode json-mode zig-mode) :custom (sp-highlight-pair-overlay nil) :config (require 'smartparens-config) (dolist (mode '(rust-mode c++-mode c-mode zig-mode json-mode css-mode)) (sp-local-pair mode "{" nil :post-handlers '(("||\n[i]" "RET") ("| " "SPC"))) (sp-local-pair mode "[" nil :post-handlers '(("||\n[i]" "RET"))) (sp-local-pair mode "(" nil :post-handlers '(("||\n[i]" "RET")))))
M-x toggle-debug-on-error
N/A
smartparens
major-mode
rustic-mode
M-x emacs-version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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{
:sp-correct.mp4
Actual behavior
rust-analyzer's automatic wrapping doesn't work. Screencast with smartparens on:
sp-bug.mp4
Sometimes I get this:
Steps to reproduce the problem
Backtraces if necessary (
M-x toggle-debug-on-error
)N/A
Environment & version information
smartparens
version: 1d5cd5emajor-mode
:rustic-mode
M-x emacs-version
): GNU Emacs 30.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-03-29The text was updated successfully, but these errors were encountered: