vim-patch:9.0.1408: QMLdir files are not recognized

Problem:    QMLdir files are not recognized.
Solution:   Add a pattern for QMLdir files. (Amaan Qureshi, closes vim/vim#12161)

1505bef5c4

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
Christian Clason
2023-03-17 09:42:01 +01:00
parent d7746b6ef1
commit f83d8ea279
2 changed files with 2 additions and 0 deletions

View File

@@ -1593,6 +1593,7 @@ local filename = {
['.pythonstartup'] = 'python',
['.pythonrc'] = 'python',
SConstruct = 'python',
qmldir = 'qmldir',
['.Rprofile'] = 'r',
['Rprofile'] = 'r',
['Rprofile.site'] = 'r',

View File

@@ -472,6 +472,7 @@ let s:filename_checks = {
\ 'pyrex': ['file.pyx', 'file.pxd'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
\ 'ql': ['file.ql', 'file.qll'],
\ 'qmldir': ['qmldir'],
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'],
\ 'quarto': ['file.qmd'],
\ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'],