mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	Problem:  filetype: purescript files are not recognized
Solution: recognize '*.purs' files as purescript filetype,
          include basic purescript filetype plugin
          (Riley Bruins)
Reference: https://github.com/purescript/documentation/blob/master/language/Syntax.md#comments
closes: vim/vim#14813
155583a5c3
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			298 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			298 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
" Vim filetype plugin
 | 
						|
" Language:	purescript
 | 
						|
" Maintainer:	Riley Bruins <ribru17@gmail.com>
 | 
						|
" Last Change:	2024 May 19
 | 
						|
 | 
						|
if exists('b:did_ftplugin')
 | 
						|
  finish
 | 
						|
endif
 | 
						|
let b:did_ftplugin = 1
 | 
						|
 | 
						|
setl comments=s1f:{-,mb:\ ,ex:-},:--\ \|,:--
 | 
						|
setl commentstring=--\ %s
 | 
						|
 | 
						|
let b:undo_ftplugin = 'setl com< cms<'
 |