Mercurial > vim
comparison src/testdir/test_filetype.vim @ 26390:24632928d8c5 v8.2.3726
patch 8.2.3726: README file in a config directory gets wrong filetype
Commit: https://github.com/vim/vim/commit/c903695be54189fd7199121e9cd669e722fbc9c2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 3 11:44:03 2021 +0000
patch 8.2.3726: README file in a config directory gets wrong filetype
Problem: README file in a config directory gets wrong filetype.
Solution: Match README before patterns that match everything in a directory.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 Dec 2021 12:45:03 +0100 |
parents | 36f3a77e4b8c |
children | f4e6431ca146 |
comparison
equal
deleted
inserted
replaced
26389:c3782f7ba000 | 26390:24632928d8c5 |
---|---|
500 \ 'teraterm': ['file.ttl'], | 500 \ 'teraterm': ['file.ttl'], |
501 \ 'terminfo': ['file.ti'], | 501 \ 'terminfo': ['file.ti'], |
502 \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], | 502 \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], |
503 \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], | 503 \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], |
504 \ 'texmf': ['texmf.cnf'], | 504 \ 'texmf': ['texmf.cnf'], |
505 \ 'text': ['file.text', 'README', '/usr/share/doc/bash-completion/AUTHORS'], | 505 \ 'text': ['file.text', 'README', 'LICENSE', 'COPYING', 'AUTHORS', '/usr/share/doc/bash-completion/AUTHORS', '/etc/apt/apt.conf.d/README'], |
506 \ 'tf': ['file.tf', '.tfrc', 'tfrc'], | 506 \ 'tf': ['file.tf', '.tfrc', 'tfrc'], |
507 \ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'], | 507 \ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'], |
508 \ 'tilde': ['file.t.html'], | 508 \ 'tilde': ['file.t.html'], |
509 \ 'tli': ['file.tli'], | 509 \ 'tli': ['file.tli'], |
510 \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf', 'tmux.conf.local'], | 510 \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf', 'tmux.conf.local'], |