@@ -968,51 +968,51 @@ See `clojure-ts--font-lock-settings' for usage of MARKDOWN-AVAILABLE."
968
968
(define-derived-mode clojure-ts-clojurescript-mode clojure-ts-mode " ClojureScript[TS]"
969
969
" Major mode for editing ClojureScript code.
970
970
971
- \\ {clojurescript -ts-mode-map}" )
971
+ \\ {clojure -ts-clojurescript -mode-map}" )
972
972
973
973
;;;### autoload
974
974
(define-derived-mode clojure-ts-clojurec-mode clojure-ts-mode " ClojureC[TS]"
975
975
" Major mode for editing ClojureC code.
976
976
977
- \\ {clojurec -ts-mode-map}" )
977
+ \\ {clojure -ts-clojurec -mode-map}" )
978
978
979
979
;;;### autoload
980
980
(define-derived-mode clojure-ts-clojuredart-mode clojure-ts-mode " ClojureDart[TS]"
981
981
" Major mode for editing Clojure Dart code.
982
982
983
- \\ {clojure-dart-ts -mode-map}" )
983
+ \\ {clojure-ts-clojuredart -mode-map}" )
984
984
985
985
;;;### autoload
986
986
(define-derived-mode clojure-ts-jank-mode clojure-ts-mode " Jank[TS]"
987
987
" Major mode for editing Jank code.
988
988
989
- \\ {clojure-jank-ts -mode-map}" )
989
+ \\ {clojure-ts-jank -mode-map}" )
990
990
991
991
(defun clojure-ts--register-novel-modes ()
992
992
" Set up Clojure modes not present in progenitor clojure-mode.el."
993
- (add-to-list 'auto-mode-alist '(" \\ .cljd\\ '" . clojure-dart-ts -mode))
994
- (add-to-list 'auto-mode-alist '(" \\ .jank\\ '" . clojure-jank-ts -mode)))
993
+ (add-to-list 'auto-mode-alist '(" \\ .cljd\\ '" . clojure-ts-clojuredart -mode))
994
+ (add-to-list 'auto-mode-alist '(" \\ .jank\\ '" . clojure-ts-jank -mode)))
995
995
996
996
; ; Redirect clojure-mode to clojure-ts-mode if clojure-mode is present
997
997
(if (require 'clojure-mode nil 'noerror )
998
998
(progn
999
999
(add-to-list 'major-mode-remap-alist '(clojure-mode . clojure-ts-mode))
1000
- (add-to-list 'major-mode-remap-alist '(clojurescript-mode . clojurescript -ts-mode))
1001
- (add-to-list 'major-mode-remap-alist '(clojurec-mode . clojurec -ts-mode))
1000
+ (add-to-list 'major-mode-remap-alist '(clojurescript-mode . clojure -ts-clojurescript -mode))
1001
+ (add-to-list 'major-mode-remap-alist '(clojurec-mode . clojure -ts-clojurec -mode))
1002
1002
(clojure-ts--register-novel-modes))
1003
1003
; ; Clojure-mode is not present, setup auto-modes ourselves
1004
1004
; ; Regular clojure/edn files
1005
1005
; ; I believe dtm is for datomic queries and datoms, which are just edn.
1006
1006
(add-to-list 'auto-mode-alist
1007
1007
'(" \\ .\\ (clj\\ |dtm\\ |edn\\ )\\ '" . clojure-ts-mode))
1008
- (add-to-list 'auto-mode-alist '(" \\ .cljs\\ '" . clojurescript -ts-mode))
1009
- (add-to-list 'auto-mode-alist '(" \\ .cljc\\ '" . clojurec -ts-mode))
1008
+ (add-to-list 'auto-mode-alist '(" \\ .cljs\\ '" . clojure -ts-clojurescript -mode))
1009
+ (add-to-list 'auto-mode-alist '(" \\ .cljc\\ '" . clojure -ts-clojurec -mode))
1010
1010
; ; boot build scripts are Clojure source files
1011
1011
(add-to-list 'auto-mode-alist '(" \\ (?:build\\ |profile\\ )\\ .boot\\ '" . clojure-ts-mode))
1012
1012
; ; babashka scripts are Clojure source files
1013
1013
(add-to-list 'interpreter-mode-alist '(" bb" . clojure-ts-mode))
1014
1014
; ; nbb scripts are ClojureScript source files
1015
- (add-to-list 'interpreter-mode-alist '(" nbb" . clojurescript -ts-mode))
1015
+ (add-to-list 'interpreter-mode-alist '(" nbb" . clojure -ts-clojurescript -mode))
1016
1016
(clojure-ts--register-novel-modes))
1017
1017
1018
1018
(defvar clojure-ts--find-ns-query
0 commit comments