mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 02:43:46 -05:00
Slight tweak to a function comment
This commit is contained in:
@@ -90,8 +90,10 @@ function! HexToDec(arg)
|
||||
return (a:arg =~? '^0x') ? a:arg + 0 : ('0x'.a:arg) + 0
|
||||
endfunction
|
||||
|
||||
"
|
||||
" Example: HexColorToRGB('#0088FF')
|
||||
" Returns: [0, 136, 255]
|
||||
"
|
||||
function! HexColorToRGB(hex_color)
|
||||
let l:rgb = []
|
||||
if matchstr(a:hex_color, s:hex_color_pattern) == a:hex_color
|
||||
|
||||
Reference in New Issue
Block a user