aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/force_syntax.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/force_syntax.lua b/plugins/force_syntax.lua
index be9cbbc..dce4abc 100644
--- a/plugins/force_syntax.lua
+++ b/plugins/force_syntax.lua
@@ -14,7 +14,7 @@ local function doc()
end
-- Force plaintext syntax to have a name
-local plain_text_syntax = syntax.get("")
+local plain_text_syntax = syntax.get("", "")
plain_text_syntax.name = plain_text_syntax.name or "Plain Text"
local doc_reset_syntax = Doc.reset_syntax