From cd10497b495f42f5cb102aac93af3e9280e65619 Mon Sep 17 00:00:00 2001 From: PIESEL <50019824+piotrek94692@users.noreply.github.com> Date: Mon, 1 Nov 2021 16:30:15 +0100 Subject: [PATCH] Use Python syntax highlighting for Ren'Py scripts. Ren'Py is a very popular Python visual novel engine, which has it's own "coding language" (even GitHub shows it as a separate language) and it's own file extension. Generally Python syntax highlighting works for the Ren'Py language. --- data/plugins/language_python.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua index e19caa63..252a0d14 100644 --- a/data/plugins/language_python.lua +++ b/data/plugins/language_python.lua @@ -2,7 +2,7 @@ local syntax = require "core.syntax" syntax.add { - files = { "%.py$", "%.pyw$" }, + files = { "%.py$", "%.pyw$", "%.rpy$" }, headers = "^#!.*[ /]python", comment = "#", patterns = {