mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	Problem:  filetype: Asymptote files are not recognized
Solution: detect '*.asy' files as asy filetype, include
          ftplugin and syntax plugin (AvidSeeker).
Reference: https://asymptote.sourceforge.io/
closes: vim/vim#15252
3088ef094d
Co-authored-by: AvidSeeker <avidseeker7@protonmail.com>
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			279 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			279 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
" Vim filetype plugin
 | 
						|
" Language:     Asymptote
 | 
						|
" Maintainer:	AvidSeeker <avidseeker7@protonmail.com>
 | 
						|
" Last Change:  2024 Jul 13
 | 
						|
"
 | 
						|
 | 
						|
if exists("b:did_ftplugin")
 | 
						|
  finish
 | 
						|
endif
 | 
						|
let g:did_ftplugin = 1
 | 
						|
 | 
						|
setlocal commentstring=/*\ %s\ */
 | 
						|
 | 
						|
let b:undo_ftplugin = "setl commentstring<"
 |