From f0156c576a024f8196fc8801c61e507a20181a94 Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Sun, 27 Mar 2022 12:26:52 -0400 Subject: [PATCH] fix fennel syntax highlighting quirk --- vendor/lite-plugins/plugins/language_fennel.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vendor/lite-plugins/plugins/language_fennel.lua b/vendor/lite-plugins/plugins/language_fennel.lua index 7320e91..110577a 100644 --- a/vendor/lite-plugins/plugins/language_fennel.lua +++ b/vendor/lite-plugins/plugins/language_fennel.lua @@ -10,13 +10,13 @@ syntax.add { files = "%.fnl$", comment = ";", patterns = { - { pattern = ";.-\n", type = "comment" }, - { pattern = { '"', '"', '\\' }, type = "string" }, - { pattern = "0x[%da-fA-F]+", type = "number" }, - { pattern = "-?%d+[%d%.]*", type = "number" }, - { pattern = "-?%.?%d+", type = "number" }, - { pattern = "%f[^(][^()'%s\"]+", type = "function" }, - { pattern = "[^()'%s\"]+", type = "symbol" }, + { pattern = ";.-\n", type = "comment" }, + { pattern = { '"', '"', '\\' }, type = "string" }, + { pattern = "0x[%da-fA-F]+", type = "number" }, + { pattern = "-?%d+[%d%.]*", type = "number" }, + { pattern = "-?%.?%d+", type = "number" }, + { pattern = "%f[^(%[%{][^()'%s\"]+", type = "function" }, + { pattern = "[^()%s\"]+", type = "symbol" }, }, symbols = {