mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 10:44:21 +01:00
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:
@@ -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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user