Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 3753c16

Browse files
committed
Highlighting: undo broken languages
Highlighthing is timing out for Ruby, C++, and Python, on sourcegraph.com because we're trying to highlight these languages with tree-sitter when syntax-highlighter has no tree-sitter support for those languages. The grammars for these languages depend on C++ code that we weren't able to build in CI so we removed them last minute before merging the PR that added tree-sitter highligting for Java, TypeScript, JavaScript, and Rust. https://github.com/sourcegraph/sourcegraph/pull/47571
1 parent a304af7 commit 3753c16

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/frontend/internal/highlight/language.go

-4
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,10 @@ var baseEngineConfig = syntaxEngineConfig{
108108
"jsx": EngineTreeSitter,
109109
"typescript": EngineTreeSitter,
110110
"tsx": EngineTreeSitter,
111-
"python": EngineTreeSitter,
112111
"java": EngineTreeSitter,
113112
"c": EngineTreeSitter,
114-
"cpp": EngineTreeSitter,
115-
"c++": EngineTreeSitter,
116113
"scala": EngineTreeSitter,
117114
"rust": EngineTreeSitter,
118-
"ruby": EngineTreeSitter,
119115
"c#": EngineTreeSitter,
120116
"jsonnet": EngineTreeSitter,
121117
"xlsg": EngineTreeSitter,

0 commit comments

Comments
 (0)