Skip to content

Commit f110ce2

Browse files
committed
cmd: remove EX_ in flags from script
1 parent 6849e76 commit f110ce2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/update_builtin_commands.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ function! s:parse(ex_cmds_h) abort
8585
if line =~# '^EXCMD('
8686
let name = matchstr(line, '"\zs.*\ze",')
8787
let flags = matchstr(lines[i+1], '\t\+\zs.*\ze,$')
88+
let flags = substitute(flags, '\<EX_', '', 'g')
89+
" for :vim9script
90+
let flags = flags ==# '0' ? '' : flags
8891

8992
let minlen = len(trie.common(name)) + 1
9093
call trie.add(name)

0 commit comments

Comments
 (0)