Skip to content

Commit 970ed59

Browse files
committed
Fix lint warnings: prefer single quoted strings
1 parent 6435948 commit 970ed59

File tree

3 files changed

+104
-104
lines changed

3 files changed

+104
-104
lines changed

autoload/pandoc/syntax/color.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ function! s:Hex2RGB(hex) "{{{2
8585
endfunction
8686

8787
function! s:RGB2Hex(r, g, b) "{{{2
88-
let h_r = printf("%02x", a:r)
89-
let h_g = printf("%02x", a:g)
90-
let h_b = printf("%02x", a:b)
88+
let h_r = printf('%02x', a:r)
89+
let h_g = printf('%02x', a:g)
90+
let h_b = printf('%02x', a:b)
9191
return join([h_r, h_g, h_b], '')
9292
endfunction
9393

@@ -105,7 +105,7 @@ function! pandoc#syntax#color#Instrospect(group)
105105
else
106106
let info = {}
107107
for i in parts
108-
let data = split(i, "=")
108+
let data = split(i, '=')
109109
let info[data[0]] = data[1]
110110
endfor
111111
endif

0 commit comments

Comments
 (0)