mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:9.1.1502: filetype: quickbms files are not recognized
Problem:  filetype: quickbms files are not recognized
Solution: detect *.bms files as quickbms filetype
          (0xadk)
Reference:
- https://aluigi.altervista.org/quickbms.htm
closes: vim/vim#17645
fdcdded4d5
Co-authored-by: 0xadk <0xadk@users.noreply.github.com>
			
			
This commit is contained in:
		 Christian Clason
					Christian Clason
				
			
				
					committed by
					
						 Christian Clason
						Christian Clason
					
				
			
			
				
	
			
			
			 Christian Clason
						Christian Clason
					
				
			
						parent
						
							da42f99eb4
						
					
				
				
					commit
					18cfbf8fb2
				
			| @@ -1007,6 +1007,7 @@ local extension = { | |||||||
|   qml = 'qml', |   qml = 'qml', | ||||||
|   qbs = 'qml', |   qbs = 'qml', | ||||||
|   qmd = 'quarto', |   qmd = 'quarto', | ||||||
|  |   bms = 'quickbms', | ||||||
|   R = detect.r, |   R = detect.r, | ||||||
|   rkt = 'racket', |   rkt = 'racket', | ||||||
|   rktd = 'racket', |   rktd = 'racket', | ||||||
|   | |||||||
| @@ -639,6 +639,7 @@ func s:GetFilenameChecks() abort | |||||||
|     \ 'qmldir': ['qmldir'], |     \ 'qmldir': ['qmldir'], | ||||||
|     \ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'], |     \ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'], | ||||||
|     \ 'quarto': ['file.qmd'], |     \ 'quarto': ['file.qmd'], | ||||||
|  |     \ 'quickbms': ['file.bms'], | ||||||
|     \ 'r': ['file.r', '.Rhistory', '.Rprofile', 'Rprofile', 'Rprofile.site'], |     \ 'r': ['file.r', '.Rhistory', '.Rprofile', 'Rprofile', 'Rprofile.site'], | ||||||
|     \ 'racket': ['file.rkt', 'file.rktd', 'file.rktl'], |     \ 'racket': ['file.rkt', 'file.rktd', 'file.rktl'], | ||||||
|     \ 'radiance': ['file.rad', 'file.mat'], |     \ 'radiance': ['file.rad', 'file.mat'], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user