Skip to content

Commit

Permalink
Add support for Plank's config and theme files. (#497)
Browse files Browse the repository at this point in the history
* Add support for Plank's config and theme files.

* Fixed comment pattern and bumped version.
  • Loading branch information
PerilousBooklet authored Nov 5, 2024
1 parent 5e2292c commit 3a27bd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@
"tags": [
"language"
],
"version": "0.1"
"version": "0.1.1"
},
{
"description": "Syntax for the [Java](https://en.wikipedia.org/wiki/Java_\\(programming_language\\)) programming language",
Expand Down
6 changes: 3 additions & 3 deletions plugins/language_ini.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 3a27bd3

Please sign in to comment.