mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user