Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing file extensions support for Clojure (and maybe other languages) #442

Open
Kryptos-FR opened this issue Aug 9, 2022 · 2 comments

Comments

@Kryptos-FR
Copy link

According to Clojure.sublime-syntax, 3 file extensions are supported: clj, cljc and edn.

However, it looks like only clj is recognized by syntect.

let ss = SyntaxSet::load_defaults_newlines();
if let Some(clj) = ss.find_syntax_by_name("Clojure") {
  let extensions = clj.file_extensions.join(",");
  log(exensions); // "clj"
}

Shouldn't all extensions for all languages be included based on the definitions found in https://github.com/sublimehq/Packages/?

@keith-hall
Copy link
Collaborator

Syntect currently pins a specific commit in the Packages repo, due to missing support for some newer features : #323

@Kryptos-FR
Copy link
Author

I don't think that's the reason for the missing extensions. Build 4075 (and even 4050) already had several file extensions for Clojure.

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants