1
0
forked from aniani/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 #12161)
This commit is contained in:
Amaan Qureshi
2023-03-16 19:30:44 +00:00
committed by Bram Moolenaar
parent b8ef029ee4
commit 1505bef5c4
3 changed files with 6 additions and 0 deletions

View File

@@ -1649,6 +1649,9 @@ au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
" QL " QL
au BufRead,BufNewFile *.ql,*.qll setf ql au BufRead,BufNewFile *.ql,*.qll setf ql
" QMLdir
au BufRead,BufNewFile qmldir setf qmldir
" Quarto " Quarto
au BufRead,BufNewFile *.qmd setf quarto au BufRead,BufNewFile *.qmd setf quarto

View File

@@ -471,6 +471,7 @@ let s:filename_checks = {
\ 'pyrex': ['file.pyx', 'file.pxd'], \ 'pyrex': ['file.pyx', 'file.pxd'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'], \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
\ 'ql': ['file.ql', 'file.qll'], \ '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'], \ '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'], \ 'quarto': ['file.qmd'],
\ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'], \ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'],

View File

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