In Sublime Text 3, when I open a new Clojure (.clj) file, the syntax is set to Java. How can I make ST3 set the syntax to Clojure for .clj files by default?
Thanks!
In Sublime Text 3, when I open a new Clojure (.clj) file, the syntax is set to Java. How can I make ST3 set the syntax to Clojure for .clj files by default?
Thanks!
No one has run into this? I’m sure it’s not just a problem with Clojure… What setting in Sublime controls the default syntax for a file type?
Use “View > Syntax > Open all with current extension as…”.
What ST does is create a syntax-specific settings file with the extensions key, containing extension overrides that take precedence over the extension list that syntax definitions come with.