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:
Sean Dewar
2020-12-07 17:59:16 +00:00
parent 85bce4d13d
commit 8329f624de
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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'],