aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaffaele Orabona <raffaele.orabona@protonmail.com>2022-10-04 22:47:44 +0200
committerGuldoman <giulio.lettieri@gmail.com>2022-10-04 23:00:48 +0200
commit2eb56c58dadea86d2dffb569cb68b7e2c1d171a4 (patch)
tree75522da85f12b2ad9d68f97d7378211a488195d9
parentddbf138c199d579fad953fc050bc0a7f199b3cd5 (diff)
downloadlite-xl-plugins-2eb56c58dadea86d2dffb569cb68b7e2c1d171a4.tar.gz
lite-xl-plugins-2eb56c58dadea86d2dffb569cb68b7e2c1d171a4.zip
Added support for LaTex package and class syntax highlighting
-rw-r--r--plugins/language_tex.lua2
1 files changed, 1 insertions, 1 deletions
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" },