about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-06-17 10:41:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-06-17 10:41:50 -0700
commit9ce9725bd6ecb56c4653eb4be4cd6e20ddd3a946 (patch)
treeabdb9610470196f4ecbe5cf6bf1adabb558f8f4f
parent1aceabc846f43e7837d3afa2964eb5b9d51c2349 (diff)
downloadlines.love-9ce9725bd6ecb56c4653eb4be4cd6e20ddd3a946.tar.gz
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.
-rw-r--r--colorize.lua5
1 files 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={