Skip to content

Commit 00dfad1

Browse files
committed
Organize the order of builtin_commands keys
1 parent ebda6e1 commit 00dfad1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/update_builtin_commands.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ endfunction
118118
function! s:gen_viml(newcmds) abort
119119
let lines = []
120120
for c in a:newcmds
121-
let lines = add(lines, ' \ ' . string(c) . ',')
121+
let lines = add(lines,
122+
\ printf(' \ {''name'': %s, ''minlen'': %s, ''flags'': %s, ''parser'': %s},',
123+
\ string(c.name), string(c.minlen), string(c.flags), string(c.parser)))
122124
endfor
123125
return join(lines, "\n")
124126
endfunction

0 commit comments

Comments
 (0)