mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1106: not all postfix files are recognized (#21568)
Problem: Not all postfix files are recognized.
Solution: Recognize main.cf.proto files. (closes vim/vim#11732)
09ce0b8e11
Co-authored-by: KodeToad <3880336+KodeToad@users.noreply.github.com>
This commit is contained in:
parent
a731a40f78
commit
3b9b43063c
@ -1532,6 +1532,7 @@ local filename = {
|
||||
['.latexmkrc'] = 'perl',
|
||||
['pf.conf'] = 'pf',
|
||||
['main.cf'] = 'pfmain',
|
||||
['main.cf.proto'] = 'pfmain',
|
||||
pinerc = 'pine',
|
||||
['.pinercex'] = 'pine',
|
||||
['.pinerc'] = 'pine',
|
||||
|
@ -421,7 +421,7 @@ let s:filename_checks = {
|
||||
\ 'pdf': ['file.pdf'],
|
||||
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'],
|
||||
\ 'pf': ['pf.conf'],
|
||||
\ 'pfmain': ['main.cf'],
|
||||
\ 'pfmain': ['main.cf', 'main.cf.proto'],
|
||||
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp', 'file.phpt', 'file.theme'],
|
||||
\ 'pike': ['file.pike', 'file.pmod'],
|
||||
\ 'pilrc': ['file.rcp'],
|
||||
|
Loading…
Reference in New Issue
Block a user