Skip to content

Commit 7ae7fb5

Browse files
committed
support relpath, output to stdout
1 parent 97a86a6 commit 7ae7fb5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/update_builtin_commands.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ fi
88
vim -u NONE -i NONE -n -N -e -s \
99
--cmd "let &rtp .= ',' . getcwd()" \
1010
--cmd "source scripts/update_builtin_commands.vim" \
11-
--cmd "call VimLParserNewCmds('$1')" \
12-
--cmd "qall!"
11+
--cmd "call VimLParserNewCmds(expand('$1'))" \
12+
--cmd "qall!" 2>&1
1313
echo

scripts/update_builtin_commands.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,3 @@ function! VimLParserNewCmds(ex_cmds_h) abort
135135
verbose echo generated_text
136136
endif
137137
endfunction
138-
" call s:vimlparser_new_cmds('/home/haya14busa/src/github.com/vim/vim/src/ex_cmds.h')

0 commit comments

Comments
 (0)