aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRaffaele Orabona <raffaele.orabona@protonmail.com>2022-10-04 22:47:44 +0200
committerRaffaele Orabona <raffaele.orabona@protonmail.com>2022-10-04 22:47:44 +0200
commit57c86cc2d36a6a4e428cbd9c9626043796e595df (patch)
tree28c16a014157d0a5f41d1e17e7b42c63d5f8aa99 /plugins
parentb6eea5a5b12a17537c97dee4207784da20f78f38 (diff)
downloadlite-xl-plugins-57c86cc2d36a6a4e428cbd9c9626043796e595df.tar.gz
lite-xl-plugins-57c86cc2d36a6a4e428cbd9c9626043796e595df.zip
Added support for LaTex package and class syntax highlighting
Diffstat (limited to 'plugins')
-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 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" },