Mercurial > vim
diff src/testdir/test_filetype.vim @ 25971:217cd7833e8b v8.2.3519
patch 8.2.3519: TOML files are not recognized
Commit: https://github.com/vim/vim/commit/28b6a3bef6d25d36c049bb731ced496155f7f9c0
Author: Aman Verma <amanraoverma@gmail.com>
Date: Sat Oct 16 13:44:04 2021 +0100
patch 8.2.3519: TOML files are not recognized
Problem: TOML files are not recognized.
Solution: Add filetype patterns for TOML. (Aman Verma, closes https://github.com/vim/vim/issues/8984)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 14:45:02 +0200 |
parents | c90b8e41b10e |
children | 87d8f52d3821 |
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -112,7 +112,7 @@ let s:filename_checks = { \ 'coco': ['file.atg'], \ 'conaryrecipe': ['file.recipe'], \ 'conf': ['auto.master'], - \ 'config': ['configure.in', 'configure.ac', 'Pipfile', '/etc/hostname.file'], + \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file'], \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'crm': ['file.crm'], @@ -505,7 +505,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', 'tmux.conf.local'], - \ 'toml': ['file.toml'], + \ 'toml': ['file.toml', 'Gopkg.lock', 'Pipfile', '/home/user/.cargo/config'], \ 'tpp': ['file.tpp'], \ 'treetop': ['file.treetop'], \ 'trustees': ['trustees.conf'],