diff options
author | PerilousBooklet <raffaele.orabona@protonmail.com> | 2024-11-05 22:36:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 22:36:05 +0100 |
commit | 3a27bd38ed0771d01b5499eac1a4762984fd16af (patch) | |
tree | 486775e20ae033459a75434f872b9adffde97930 /plugins | |
parent | 5e2292c6226920a659ff3fe798936d614138e236 (diff) | |
download | lite-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.lua | 6 |
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" }, |