Skip to content

Commit f35946c

Browse files
committed
add cs extension to metasyntaxparser
1 parent 0ba2cd5 commit f35946c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tmc-langs-framework/src/meta_syntax.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ impl<R: Read> MetaSyntaxParser<BufReader<R>> {
114114
let reader = BufReader::new(target);
115115
// assigns each supported file extension with the proper comment syntax
116116
let meta_syntaxes: &[MetaSyntax] = match target_extension {
117-
"java" | "c" | "cpp" | "h" | "hpp" | "js" | "css" | "rs" | "qml" => &*META_SYNTAXES_C,
117+
"java" | "c" | "cpp" | "h" | "hpp" | "js" | "css" | "rs" | "qml" | "cs" => {
118+
&*META_SYNTAXES_C
119+
}
118120
"xml" | "http" | "html" | "qrc" => &*META_SYNTAXES_HTML,
119121
"properties" | "py" | "R" | "pro" => &*META_SYNTAXES_PY,
120122
_ => &[],

0 commit comments

Comments
 (0)