diff options
author | Raffaele Orabona <raffaele.orabona@protonmail.com> | 2022-10-04 22:47:44 +0200 |
---|---|---|
committer | Raffaele Orabona <raffaele.orabona@protonmail.com> | 2022-10-04 22:47:44 +0200 |
commit | 57c86cc2d36a6a4e428cbd9c9626043796e595df (patch) | |
tree | 28c16a014157d0a5f41d1e17e7b42c63d5f8aa99 | |
parent | b6eea5a5b12a17537c97dee4207784da20f78f38 (diff) | |
download | lite-xl-plugins-57c86cc2d36a6a4e428cbd9c9626043796e595df.tar.gz lite-xl-plugins-57c86cc2d36a6a4e428cbd9c9626043796e595df.zip |
Added support for LaTex package and class syntax highlighting
-rw-r--r-- | plugins/language_tex.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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" }, |