vim-patch:87b6565: runtime(modconf): remove erroneous :endif in ftplugin

regression introduced in f86568f91848ece0c5da

closes: vim/vim#15704

87b65652e8

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
Christian Clason 2024-09-21 10:26:12 +02:00
parent b40b22f426
commit 91b7a421ea

View File

@ -1,7 +1,8 @@
" Vim filetype plugin file
" Language: modules.conf(5) configuration file
" Maintainer: This runtime file is looking for a new maintainer.
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2024-09-19 (simplify keywordprg #15696)
" Latest Revision: 2024-09-20 (remove erroneous endif)
if exists("b:did_ftplugin")
finish
@ -23,7 +24,6 @@ if has('unix') && executable('less') && exists(':terminal') == 2
setlocal keywordprg=:ModconfKeywordPrg
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer ModconfKeywordPrg'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save