From 8242cd817017628db85f04ebf63cd328ec1e8eb3 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 5 Dec 2022 17:53:55 -0500 Subject: switch to // comments for C comment selection I hope nobody's still using C89 --- syntax.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/syntax.c b/syntax.c index f84c6c9..b156451 100644 --- a/syntax.c +++ b/syntax.c @@ -17,7 +17,6 @@ Language language_from_str(char const *str) { char const *language_comment_start(Language l) { switch (l) { case LANG_C: - return "/* "; case LANG_RUST: case LANG_CPP: case LANG_JAVASCRIPT: @@ -43,8 +42,6 @@ char const *language_comment_start(Language l) { // end of single line comment for language l char const *language_comment_end(Language l) { switch (l) { - case LANG_C: - return " */"; case LANG_HTML: return " -->"; default: -- cgit v1.2.3