Fix a kitty command in vim colour handling

This commit is contained in:
Talia 2021-07-12 11:35:00 +02:00
parent a5e91b70ab
commit 1328c65502
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ function! s:kitty_bg_color()
if l:num_color!=""
let l:color=system("kitty @ get-colors | grep 'color".l:num_color."'")
let l:color=l:color[match(l:color, "#"):]
echom system("kitty @ set-colors background=".l:color)
echom system('kitty @ set-colors background="'.l:color.'"')
end
end
endfun