From 5affdc231f7cf34ffa1246eff502ebe6e9e1e449 Mon Sep 17 00:00:00 2001 From: Liqube Date: Mon, 18 May 2020 17:56:22 +0200 Subject: minor --- plugins/language_batch.lua | 4 ++-- 1 file 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), } -- cgit v1.2.3