mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	vim-patch:8.2.2106: TOML files are not recognized
Problem:    TOML files are not recognized.
Solution:   Match *.toml. (issue vim/vim#7432)
b237ae7b83
			
			
This commit is contained in:
		@@ -1744,6 +1744,9 @@ au BufNewFile,BufRead *.tf,.tfrc,tfrc		setf tf
 | 
				
			|||||||
" tmux configuration
 | 
					" tmux configuration
 | 
				
			||||||
au BufNewFile,BufRead {.,}tmux*.conf		setf tmux
 | 
					au BufNewFile,BufRead {.,}tmux*.conf		setf tmux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" TOML
 | 
				
			||||||
 | 
					au BufNewFile,BufRead *.toml			setf toml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" TPP - Text Presentation Program
 | 
					" TPP - Text Presentation Program
 | 
				
			||||||
au BufNewFile,BufReadPost *.tpp			setf tpp
 | 
					au BufNewFile,BufReadPost *.tpp			setf tpp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -463,6 +463,7 @@ let s:filename_checks = {
 | 
				
			|||||||
    \ 'tilde': ['file.t.html'],
 | 
					    \ 'tilde': ['file.t.html'],
 | 
				
			||||||
    \ 'tli': ['file.tli'],
 | 
					    \ 'tli': ['file.tli'],
 | 
				
			||||||
    \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf'],
 | 
					    \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf'],
 | 
				
			||||||
 | 
					    \ 'toml': ['file.toml'],
 | 
				
			||||||
    \ 'tpp': ['file.tpp'],
 | 
					    \ 'tpp': ['file.tpp'],
 | 
				
			||||||
    \ 'treetop': ['file.treetop'],
 | 
					    \ 'treetop': ['file.treetop'],
 | 
				
			||||||
    \ 'trustees': ['trustees.conf'],
 | 
					    \ 'trustees': ['trustees.conf'],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user