mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:9.1.1504: filetype: numbat files are not recognized
Problem:  filetype: numbat files are not recognized
Solution: detect *.nbt files as numbat filetype (0xadk)
References:
- https://github.com/sharkdp/numbat
- https://github.com/sharkdp/numbat/tree/master/numbat/modules
closes: vim/vim#17643
20eb68a8f2
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
						
							0a14ac3261
						
					
				
				
					commit
					fc1be07d28
				
			| @@ -871,6 +871,7 @@ local extension = { | ||||
|   nsh = 'nsis', | ||||
|   nt = 'ntriples', | ||||
|   nu = 'nu', | ||||
|   nbt = 'numbat', | ||||
|   obj = 'obj', | ||||
|   objdump = 'objdump', | ||||
|   cppobjdump = 'objdump', | ||||
|   | ||||
| @@ -564,6 +564,7 @@ func s:GetFilenameChecks() abort | ||||
|     \ 'nsis': ['file.nsi', 'file.nsh'], | ||||
|     \ 'ntriples': ['file.nt'], | ||||
|     \ 'nu': ['file.nu'], | ||||
|     \ 'numbat': ['file.nbt'], | ||||
|     \ 'obj': ['file.obj'], | ||||
|     \ 'objdump': ['file.objdump', 'file.cppobjdump'], | ||||
|     \ 'obse': ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user