diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-09-29 08:48:53 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-09-29 08:48:58 +0800 |
| commit | b851aa517f02c15dc34788e29e2d4b329d98cf2e (patch) | |
| tree | 41e5bb7151d3fe7fd3b9904e16aca669a6d366d2 /runtime/autoload/javascriptcomplete.vim | |
| parent | 14e7945eac46940cf12763b758e821614b2f846c (diff) | |
| download | rneovim-b851aa517f02c15dc34788e29e2d4b329d98cf2e.tar.gz rneovim-b851aa517f02c15dc34788e29e2d4b329d98cf2e.tar.bz2 rneovim-b851aa517f02c15dc34788e29e2d4b329d98cf2e.zip | |
vim-patch:d1fa936: runtime(javascript): missing :endif in javascriptcomplete#CompleteJS()
Problem: The "if a:findstart" block in javascriptcomplete#CompleteJS()
has no matching :endif.
Solution: Add the missing :endif before :endfunction.
This has no user-visible effect. Both branches of the block return
before reaching :endfunction, so calling the function never gives
E171 and completion works as before.
closes: vim/vim#21388
https://github.com/vim/vim/commit/d1fa9362243c74a8c41a5a743836619e6157881a
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat (limited to 'runtime/autoload/javascriptcomplete.vim')
| -rw-r--r-- | runtime/autoload/javascriptcomplete.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/autoload/javascriptcomplete.vim b/runtime/autoload/javascriptcomplete.vim index 3ec3b50490..8833ca666c 100644 --- a/runtime/autoload/javascriptcomplete.vim +++ b/runtime/autoload/javascriptcomplete.vim @@ -1,9 +1,10 @@ " Vim completion script " Language: Java Script " Maintainer: Jay Sitter (jay@jaysitter.com) -" URL: https://github.com/jsit/javascriptcomplete.vim/ +" URL: https://github.com/vim-language-dept/javascript-complete.vim/ " Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) " Last Change: 2020 Jul 30 +" 2026 Sep 28 by Vim project: fix syntax error #21388 function! javascriptcomplete#CompleteJS(findstart, base) if a:findstart @@ -641,6 +642,7 @@ function! javascriptcomplete#CompleteJS(findstart, base) endfor let g:fm = final_menu return final_menu + endif endfunction |