aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPerilousBooklet <raffaele.orabona@protonmail.com>2024-11-05 22:36:05 +0100
committerGitHub <noreply@github.com>2024-11-05 22:36:05 +0100
commit3a27bd38ed0771d01b5499eac1a4762984fd16af (patch)
tree486775e20ae033459a75434f872b9adffde97930 /plugins
parent5e2292c6226920a659ff3fe798936d614138e236 (diff)
downloadlite-xl-plugins-3a27bd38ed0771d01b5499eac1a4762984fd16af.tar.gz
lite-xl-plugins-3a27bd38ed0771d01b5499eac1a4762984fd16af.zip
Add support for Plank's config and theme files. (#497)
* Add support for Plank's config and theme files. * Fixed comment pattern and bumped version.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_ini.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/language_ini.lua b/plugins/language_ini.lua
index 2f5d3b5..df2a46f 100644
--- a/plugins/language_ini.lua
+++ b/plugins/language_ini.lua
@@ -4,11 +4,11 @@ local syntax = require "core.syntax"
syntax.add {
name = "INI",
- files = { "%.ini$", "%.inf$", "%.cfg$", "%.editorconfig$" },
+ files = { "%.ini$", "%.inf$", "%.cfg$", "%.editorconfig$", "%.theme$", "%.dockitem$" },
comment = ';',
patterns = {
- { pattern = ";.-\n", type = "comment" },
- { pattern = "#.-\n", type = "comment" },
+ { pattern = ";.*", type = "comment" },
+ { pattern = "#.*", type = "comment" },
{ pattern = { "%[", "%]" }, type = "keyword" },
{ pattern = { '"""', '"""', '\\' }, type = "string" },