mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	vim-patch:8.2.0589: .bsd file type not recognized
Problem:    .bsd file type not recognized.
Solution:   Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945)
0fc1288aef
			
			
This commit is contained in:
		@@ -230,13 +230,13 @@ au BufNewFile,BufRead *.bl			setf blank
 | 
				
			|||||||
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old   setf xml
 | 
					au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old   setf xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" BSDL
 | 
					" BSDL
 | 
				
			||||||
au BufNewFile,BufRead *.bsdl			setf bsdl
 | 
					au BufNewFile,BufRead *bsd,*.bsdl		setf bsdl
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Bazel (http://bazel.io)
 | 
					" Bazel (http://bazel.io)
 | 
				
			||||||
autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel 	setf bzl
 | 
					autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel 	setf bzl
 | 
				
			||||||
if has("fname_case")
 | 
					if has("fname_case")
 | 
				
			||||||
  " There is another check for BUILD further below.
 | 
					  " There is another check for BUILD further below.
 | 
				
			||||||
  autocmd BufRead,BufNewFile BUILD			setf bzl
 | 
					  autocmd BufRead,BufNewFile BUILD		setf bzl
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" C or lpc
 | 
					" C or lpc
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -79,7 +79,7 @@ let s:filename_checks = {
 | 
				
			|||||||
    \ 'bib': ['file.bib'],
 | 
					    \ 'bib': ['file.bib'],
 | 
				
			||||||
    \ 'bindzone': ['named.root'],
 | 
					    \ 'bindzone': ['named.root'],
 | 
				
			||||||
    \ 'blank': ['file.bl'],
 | 
					    \ 'blank': ['file.bl'],
 | 
				
			||||||
    \ 'bsdl': ['file.bsdl'],
 | 
					    \ 'bsdl': ['file.bsd', 'file.bsdl'],
 | 
				
			||||||
    \ 'bst': ['file.bst'],
 | 
					    \ 'bst': ['file.bst'],
 | 
				
			||||||
    \ 'bzr': ['bzr_log.any'],
 | 
					    \ 'bzr': ['bzr_log.any'],
 | 
				
			||||||
    \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'],
 | 
					    \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user