fix: handle capitalized letters in pywal colors (#40)
Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
This commit is contained in:
parent
1e72ae9ae3
commit
1f4df948c4
|
@ -22,7 +22,7 @@ end
|
|||
local colors = {}
|
||||
|
||||
for line in vim.gsplit(wal_colors_text, '\n') do
|
||||
if line:match "^[a-z0-9]+='#[a-f0-9]+'" ~= nil then
|
||||
if line:match "^[a-z0-9]+='#[a-fA-F0-9]+'$" ~= nil then
|
||||
local i = line:find '='
|
||||
local key = line:sub(0, i - 1)
|
||||
local value = line:sub(i + 2, #line - 1)
|
||||
|
|
Loading…
Reference in New Issue