Skip to content

Commit dffc9f8

Browse files
authored
fixed special char coloring
1 parent 2709c26 commit dffc9f8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cosu.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ local tPatterns = {
117117
{ "^\'.-[^\\]\'", colorMatch["string"] },
118118
{ "^%[%[%]%]", colorMatch["string"] },
119119
{ "^%[%[.-[^\\]%]%]", colorMatch["string"] },
120-
{ "^[\127\162\163\165\169\174\182\181\177\183\186\188\189\190\215\247@]+", colorMatch["special"] },
120+
{ "^[\000\001\002\003\004\005\006\007\008\009\010\011\012\013\014\015\016\017\018\019\020\021\022\023\024\025\026\027\028\029\030\031\127\128\129\130\131\132\134\135\136\137\138\139\140\141\142\143\144\145\146\147\148\149\150\151\152\153\154\155\156\157\158\159\160@]+", colorMatch["special"] },
121121
{ "^[%d][xA-Fa-f.%d#]+", colorMatch["number"] },
122122
{ "^[%d]+", colorMatch["number"] },
123123
{ "^[,{}%[%]%(%)]", colorMatch["bracket"] },
@@ -135,10 +135,10 @@ local tPatterns = {
135135
{ "^[^%w_]", colorMatch["text"] }
136136
}
137137
local sGithub = {
138-
["api"]="https://api.github.com/repos/1turtle/consult/releases/latest",
139-
["latest"]="https://github.com/1Turtle/consult/releases/latest/download/cosu.lua"
138+
["api"]="https://api.github.com/repos/sammyforreal/consult/releases/latest",
139+
["latest"]="https://github.com/sammyforreal/consult/releases/latest/download/cosu.lua"
140140
}
141-
local sVersion = "1.4.3"
141+
local sVersion = "1.4.4"
142142
local bPreview = false
143143
local tArgs = { ... }
144144
local init = function() return end

0 commit comments

Comments
 (0)