feat: add Clojure syntax highlighting support (#3912)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
Err
2025-11-04 22:47:05 -06:00
committed by GitHub
parent 234db24f1f
commit 3b1ab444fd
2 changed files with 12 additions and 0 deletions

View File

@@ -203,5 +203,14 @@ export default {
], ],
}, },
}, },
{
filetype: "clojure",
wasm: "https://github.com/sogaiu/tree-sitter-clojure/releases/download/v0.0.13/tree-sitter-clojure.wasm",
queries: {
highlights: [
"https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/clojure/highlights.scm",
],
},
},
], ],
} }

View File

@@ -4,6 +4,9 @@ export const LANGUAGE_EXTENSIONS: Record<string, string> = {
".bib": "bibtex", ".bib": "bibtex",
".bibtex": "bibtex", ".bibtex": "bibtex",
".clj": "clojure", ".clj": "clojure",
".cljs": "clojure",
".cljc": "clojure",
".edn": "clojure",
".coffee": "coffeescript", ".coffee": "coffeescript",
".c": "c", ".c": "c",
".cpp": "cpp", ".cpp": "cpp",