Differentiating between dialects? #6
-
Wasn't sure which category this would fall under, but I opted to phrase this as a direct question. Now that the various modes are intended to be merged into a single The obvious choice that springs out would be attempting to guess from the filename, but that seems like it could fail & obviously fails for cases where there is no file associated to the buffer (eg a scratch buffer or similar). An example of where this would be most beneficial would be something like lsp-tailwindcss that I'll only want in cljs but I don't want to connect to a pointless language server in every clojure file or bb script I open. Thanks for all the hard work getting this together! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey sorry I missed this, I don't think I get notifications for discussion. I wasn't sure what the use case for different dialect modes were when there wasn't any distinct code in clojure-ts-mode for any of the modes. So I didn't include it initially. I understand the use case you present here though and have opened up an issue to track it: #12 (comment) Thank you for bringing it to my attention! |
Beta Was this translation helpful? Give feedback.
Hey sorry I missed this, I don't think I get notifications for discussion. I wasn't sure what the use case for different dialect modes were when there wasn't any distinct code in clojure-ts-mode for any of the modes. So I didn't include it initially. I understand the use case you present here though and have opened up an issue to track it: #12 (comment) Thank you for bringing it to my attention!