aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_meson.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-06-09 09:24:17 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-08-24 14:07:20 -0400
commit78c592baad7e85656b41b1c26e6d87f0c900b9ec (patch)
tree253e5348fea6750dd4004f3d0deb1bb922a88e2e /plugins/language_meson.lua
parent896e40588411d758b8060ce2fae28ce1649c88d4 (diff)
downloadlite-xl-plugins-2.2.tar.gz
lite-xl-plugins-2.2.zip
Updated to match new behaviour of syntax.get for these plugins.2.2
Diffstat (limited to 'plugins/language_meson.lua')
-rw-r--r--plugins/language_meson.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_meson.lua b/plugins/language_meson.lua
index be10d66..90a649e 100644
--- a/plugins/language_meson.lua
+++ b/plugins/language_meson.lua
@@ -3,7 +3,7 @@ local syntax = require "core.syntax"
syntax.add {
name = "Meson",
- files = { "^meson%.build$", "^meson_options%.txt$" },
+ files = { PATHSEP .. "meson%.build$", PATHSEP .. "meson_options%.txt$" },
comment = "#",
patterns = {
{ pattern = { "#", "\n" }, type = "comment" },