From 2eb56c58dadea86d2dffb569cb68b7e2c1d171a4 Mon Sep 17 00:00:00 2001 From: Raffaele Orabona Date: Tue, 4 Oct 2022 22:47:44 +0200 Subject: Added support for LaTex package and class syntax highlighting --- plugins/language_tex.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/language_tex.lua b/plugins/language_tex.lua index e34d466..f8e69e2 100644 --- a/plugins/language_tex.lua +++ b/plugins/language_tex.lua @@ -3,7 +3,7 @@ local syntax = require "core.syntax" syntax.add { name = "TeX", - files = { "%.tex$" }, + files = { "%.tex$", "%.dtx$", "%.sty$", "%.ins$", "%.cls$" }, comment = "%%", patterns = { { pattern = "%%.-\n", type = "comment" }, -- cgit v1.2.3