From 86632d57543b284cc7fdcbd332ec0d0dd642b1e7 Mon Sep 17 00:00:00 2001 From: Gregor Santner Date: Sun, 13 Oct 2024 19:06:59 +0000 Subject: [PATCH] Open .lrc extension as plaintext by default, closes #2322 (#2438) --- .../markor/format/plaintext/PlaintextTextConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/gsantner/markor/format/plaintext/PlaintextTextConverter.java b/app/src/main/java/net/gsantner/markor/format/plaintext/PlaintextTextConverter.java index b1e4b1c97..b7ed4b21d 100644 --- a/app/src/main/java/net/gsantner/markor/format/plaintext/PlaintextTextConverter.java +++ b/app/src/main/java/net/gsantner/markor/format/plaintext/PlaintextTextConverter.java @@ -30,7 +30,7 @@ public class PlaintextTextConverter extends TextConverterBase { private static final String HTML101_BODY_PRE_END = ""; private static final List EXT_TEXT = Arrays.asList(".txt", ".taskpaper", ".org", ".ldg", ".ledger", ".m3u", ".m3u8"); private static final List EXT_HTML = Arrays.asList(".html", ".htm"); - private static final List EXT_CODE_HL = Arrays.asList(".py", ".cpp", ".h", ".c", ".js", ".mjs", ".css", ".cs", ".kt", ".lua", ".perl", ".java", ".qml", ".diff", ".php", ".r", ".patch", ".rs", ".swift", ".ts", ".mm", ".go", ".sh", ".rb", ".tex", ".xml", ".xlf"); + private static final List EXT_CODE_HL = Arrays.asList(".py", ".cpp", ".h", ".c", ".js", ".mjs", ".css", ".cs", ".kt", ".lua", ".lrc", ".perl", ".java", ".qml", ".diff", ".php", ".r", ".patch", ".rs", ".swift", ".ts", ".mm", ".go", ".sh", ".rb", ".tex", ".xml", ".xlf"); private static final List EXT = new ArrayList<>(); static {