Replies: 4 comments
|
Yeah, I can change this behavior, so it's easier to switch between the mode. This can be behind a defcustom, and we can also have have some toggle command that updates the mode mappings. |
0 replies
|
(also - feel free to convert this to an issue) |
0 replies
|
Hm, don't think I have the ability to convert this into an issue - but in any case, if you're alright with a defcustom I can create a PR for it - thinking |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Upon being loaded this package "takes over" from clojure-mode, causing all
.clj[s|c]files to automatically open in clojure-ts-mode.After giving it a brief try however, I found some rough edges that still made it unsuitable for everyday use, and had to manually revert the major-mode remappings - here is the code for anyone interested:
(Of course still being able to activate it on a per-buffer basis by calling
M-x clojure-ts-mode)clojure-ts-mode/clojure-ts-mode.el
Line 1086 in 9662b6c
Perhaps this logic could be put behind a defcustom allowing users to opt in/out of clojure-ts-mode everywhere? I personally don't think it's ready yet to completely replace the existing clojure-mode, and the default can always be changed in the future when it reaches feature parity.
All reactions