diff options
author | Liqube <git@liqube.com> | 2020-05-18 17:56:22 +0200 |
---|---|---|
committer | Liqube <git@liqube.com> | 2020-05-18 17:56:22 +0200 |
commit | 5affdc231f7cf34ffa1246eff502ebe6e9e1e449 (patch) | |
tree | 0e5f14295d7f5d87a21b92002e3eb3706a26341c /plugins/language_batch.lua | |
parent | 641f10a90122cba4397cc2e7a99cb684bde2ef24 (diff) | |
download | lite-xl-plugins-5affdc231f7cf34ffa1246eff502ebe6e9e1e449.tar.gz lite-xl-plugins-5affdc231f7cf34ffa1246eff502ebe6e9e1e449.zip |
minor
Diffstat (limited to 'plugins/language_batch.lua')
-rw-r--r-- | plugins/language_batch.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_batch.lua b/plugins/language_batch.lua index ca063f7..8caad59 100644 --- a/plugins/language_batch.lua +++ b/plugins/language_batch.lua @@ -27,7 +27,7 @@ local symtable = { "forfiles", }, } --- prepare a mixed symbol list digestable by lite +-- prepare a mixed symbol list local function prepare_symbols(symtable) local symbols = { } for symtype, symlist in pairs(symtable) do @@ -55,7 +55,7 @@ syntax.add { { pattern = "-?%.?%d+f?", type = "number" }, -- integer numbers { pattern = { '"', '"', '\\' }, type = "string" }, -- "strings" { pattern = "[%a_][%w_]*", type = "normal" }, - { pattern = ":eof", type = "keyword" }, -- NOTE: end processing here once possible in lite + { pattern = ":eof", type = "keyword" }, -- not quite as intended, but ok for now }, symbols = prepare_symbols(symtable), } |