Skip to content

Commit d5a9438

Browse files
committed
Fix jscompiler.vim and pycompiler.vim
Remove the trailing colon at "endfunction" line
1 parent f270139 commit d5a9438

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: js/jscompiler.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ function! s:parse_args() abort
897897
let v = args
898898
endif
899899
return v
900-
endfunction:
900+
endfunction
901901

902902
function! s:main() abort
903903
try

Diff for: py/pycompiler.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ function! s:parse_args() abort
931931
let v = args
932932
endif
933933
return v
934-
endfunction:
934+
endfunction
935935

936936
function! s:main() abort
937937
try

Diff for: scripts/jscompile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*
2+
vim -u NONE -i NONE -E -s -N -R -X --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*

Diff for: scripts/pycompile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*
2+
vim -u NONE -i NONE -E -s -N -R -X --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*

0 commit comments

Comments
 (0)