Skip to content

Commit 1b78c31

Browse files
committed
fix printf format
1 parent 187a917 commit 1b78c31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

autoload/vimlparser.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5191,7 +5191,7 @@ function! s:Compiler.compile_lockvar(node) abort
51915191
if a:node.depth is# s:NIL
51925192
call self.out('(lockvar %s)', join(list, ' '))
51935193
else
5194-
call self.out('(lockvar %s %s)', a:node.depth, join(list, ' '))
5194+
call self.out('(lockvar %d %s)', a:node.depth, join(list, ' '))
51955195
endif
51965196
endfunction
51975197

@@ -5200,7 +5200,7 @@ function! s:Compiler.compile_unlockvar(node) abort
52005200
if a:node.depth is# s:NIL
52015201
call self.out('(unlockvar %s)', join(list, ' '))
52025202
else
5203-
call self.out('(unlockvar %s %s)', a:node.depth, join(list, ' '))
5203+
call self.out('(unlockvar %d %s)', a:node.depth, join(list, ' '))
52045204
endif
52055205
endfunction
52065206

go/vimlparser.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)