Skip to content

Commit 165b4cd

Browse files
committed
fix printf format
1 parent e9060d6 commit 165b4cd

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
@@ -5197,7 +5197,7 @@ function! s:Compiler.compile_lockvar(node) abort
51975197
if a:node.depth is# s:NIL
51985198
call self.out('(lockvar %s)', join(list, ' '))
51995199
else
5200-
call self.out('(lockvar %s %s)', a:node.depth, join(list, ' '))
5200+
call self.out('(lockvar %d %s)', a:node.depth, join(list, ' '))
52015201
endif
52025202
endfunction
52035203

@@ -5206,7 +5206,7 @@ function! s:Compiler.compile_unlockvar(node) abort
52065206
if a:node.depth is# s:NIL
52075207
call self.out('(unlockvar %s)', join(list, ' '))
52085208
else
5209-
call self.out('(unlockvar %s %s)', a:node.depth, join(list, ' '))
5209+
call self.out('(unlockvar %d %s)', a:node.depth, join(list, ' '))
52105210
endif
52115211
endfunction
52125212

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)