From c3ca98b4f77b721cdb68e9a69ac9ff9bd133f90f 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 f1430fb1..8bc6fbd4 100644 --- a/data/plugins/language_python.lua +++ b/data/plugins/language_python.lua @@ -3,7 +3,7 @@ local syntax = require "core.syntax" syntax.add { name = "Python", - files = { "%.py$", "%.pyw$" }, + files = { "%.py$", "%.pyw$", "%.rpy$" }, headers = "^#!.*[ /]python", comment = "#", patterns = {