Skip to content

Commit

Permalink
style: re-format list of modes for better diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Jun 29, 2024
1 parent c5ddcb7 commit 470451b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions smartparens-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@
(defvar sp-clojure-prefix "\\(?:[@`'#~,_?^]+\\)"
"Prefix used in `sp-sexp-prefix' for clojure modes.")

(dolist (mode '(clojure-mode clojurescript-mode clojurec-mode cider-repl-mode
clojure-ts-mode clojurescript-ts-mode clojurec-ts-mode))
(dolist (mode '(
cider-repl-mode
clojure-mode
clojure-ts-mode
clojurec-mode
clojurec-ts-mode
clojurescript-mode
clojurescript-ts-mode
))
(add-to-list 'sp-sexp-prefix `(,mode regexp ,sp-clojure-prefix)))

;; Match "`" with "`" in strings and comments
Expand Down

0 comments on commit 470451b

Please sign in to comment.