1
0
forked from aniani/vim

patch 8.2.2106: TOML files are not recognized

Problem:    TOML files are not recognized.
Solution:   Match *.toml. (issue #7432)
This commit is contained in:
Bram Moolenaar
2020-12-07 18:05:02 +01:00
parent 7b130b9738
commit b237ae7b83
3 changed files with 6 additions and 0 deletions

View File

@@ -1742,6 +1742,9 @@ au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf
" tmux configuration
au BufNewFile,BufRead {.,}tmux*.conf setf tmux
" TOML
au BufNewFile,BufRead *.toml setf toml
" TPP - Text Presentation Program
au BufNewFile,BufReadPost *.tpp setf tpp

View File

@@ -479,6 +479,7 @@ let s:filename_checks = {
\ 'tilde': ['file.t.html'],
\ 'tli': ['file.tli'],
\ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf'],
\ 'toml': ['file.toml'],
\ 'tpp': ['file.tpp'],
\ 'treetop': ['file.treetop'],
\ 'trustees': ['trustees.conf'],

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2106,
/**/
2105,
/**/