Slight tweak to a function comment

This commit is contained in:
Nate Kane 2010-12-06 21:40:39 +10:00
parent 2f539bbe1f
commit 11de60a4fb

View File

@ -90,8 +90,10 @@ function! HexToDec(arg)
return (a:arg =~? '^0x') ? a:arg + 0 : ('0x'.a:arg) + 0 return (a:arg =~? '^0x') ? a:arg + 0 : ('0x'.a:arg) + 0
endfunction endfunction
"
" Example: HexColorToRGB('#0088FF') " Example: HexColorToRGB('#0088FF')
" Returns: [0, 136, 255] " Returns: [0, 136, 255]
"
function! HexColorToRGB(hex_color) function! HexColorToRGB(hex_color)
let l:rgb = [] let l:rgb = []
if matchstr(a:hex_color, s:hex_color_pattern) == a:hex_color if matchstr(a:hex_color, s:hex_color_pattern) == a:hex_color