From 57c86cc2d36a6a4e428cbd9c9626043796e595df 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 858c811..264c5ca 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