mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 bcfad7fe62
			
		
	
	bcfad7fe62
	
	
	
		
			
			runtime(vim): don't set compiler, update a comment for vimdoc compiler (vim/vim#14532)
e92ed1b45c
Co-authored-by: Shane-XB-Qian <shane.qian@foxmail.com>
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			499 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			499 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim Compiler File
 | |
| " Language:             vimdoc
 | |
| " Maintainer:           Wu, Zhenyu <wuzhenyu@ustc.edu>
 | |
| " Latest Revision:      2024-04-13
 | |
| "
 | |
| " If you can not find 'vimdoc' in the package manager of your distribution e.g
 | |
| " 'pip', then you may need to build it from its source.
 | |
| 
 | |
| if exists('b:current_compiler')
 | |
|   finish
 | |
| endif
 | |
| let b:current_compiler = 'vimdoc'
 | |
| 
 | |
| let s:save_cpoptions = &cpoptions
 | |
| set cpoptions&vim
 | |
| 
 | |
| CompilerSet makeprg=vimdoc
 | |
| 
 | |
| let &cpoptions = s:save_cpoptions
 | |
| unlet s:save_cpoptions
 |