aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-10-04 22:59:42 +0200
committerGitHub <noreply@github.com>2022-10-04 22:59:42 +0200
commita59f687eae4f52fca555285316c26e3e6e792efa (patch)
tree28c16a014157d0a5f41d1e17e7b42c63d5f8aa99
parentb6eea5a5b12a17537c97dee4207784da20f78f38 (diff)
parent57c86cc2d36a6a4e428cbd9c9626043796e595df (diff)
downloadlite-xl-plugins-a59f687eae4f52fca555285316c26e3e6e792efa.tar.gz
lite-xl-plugins-a59f687eae4f52fca555285316c26e3e6e792efa.zip
Merge pull request #128 from FarRealm/temp-latex
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 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" },