Skip to content

Commit

Permalink
Fix jscompiler.vim and pycompiler.vim
Browse files Browse the repository at this point in the history
Remove the trailing colon at "endfunction" line
  • Loading branch information
ichizok committed Jan 16, 2022
1 parent f270139 commit d5a9438
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/jscompiler.vim
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ function! s:parse_args() abort
let v = args
endif
return v
endfunction:
endfunction

function! s:main() abort
try
Expand Down
2 changes: 1 addition & 1 deletion py/pycompiler.vim
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ function! s:parse_args() abort
let v = args
endif
return v
endfunction:
endfunction

function! s:main() abort
try
Expand Down
2 changes: 1 addition & 1 deletion scripts/jscompile.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*
vim -u NONE -i NONE -E -s -N -R -X --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*
2 changes: 1 addition & 1 deletion scripts/pycompile.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*
vim -u NONE -i NONE -E -s -N -R -X --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*

0 comments on commit d5a9438

Please sign in to comment.