Problem:  filetype: roc files are not recognized
Solution: Detect '*.roc' files as roc filetype,
          add a basic filetype plugin (nat-418)
closes: #14416
Signed-off-by: nat-418 <93013864+nat-418@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Roc filetype plugin file
 | |
| " Language: Roc
 | |
| " Maintainer: nat-418 <93013864+nat-418@users.noreply.github.com>
 | |
| " Latest Revision: 2024-04-5
 | |
| 
 | |
| if exists("b:did_ftplugin")
 | |
|   finish
 | |
| endif
 | |
| let b:did_ftplugin = 1
 | |
| 
 | |
| setlocal comments=:##,:#
 | |
| setlocal commentstring=#\ %s
 | |
| 
 | |
| let b:undo_ftplugin = "setl com< cms<"
 |