From 9ce9725bd6ecb56c4653eb4be4cd6e20ddd3a946 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Jun 2023 10:41:50 -0700 Subject: [PATCH] stop highlighting strings in code It works right so rarely that it's a net negative. I'll bring it back if I ever start tokenizing on non-whitespace. --- colorize.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/colorize.lua b/colorize.lua index e42630a..6a0a7e5 100644 --- a/colorize.lua +++ b/colorize.lua @@ -6,8 +6,9 @@ Next_state = { normal={ {prefix='--[[', target='block_comment'}, -- only single-line for now {prefix='--', target='comment'}, - {prefix='"', target='dstring'}, - {prefix="'", target='sstring'}, + -- these don't mostly work well until we can change color within words + -- {prefix='"', target='dstring'}, + -- {prefix="'", target='sstring'}, {prefix='[[', target='block_string'}, -- only single line for now }, dstring={