Patch 9.0.1408
Problem:    QMLdir files are not recognized.
Solution:   Add a pattern for QMLdir files. (Amaan Qureshi, closes #12161)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1407/runtime/filetype.vim        2023-03-16 15:54:14.667322572 
+0000
--- runtime/filetype.vim        2023-03-16 19:28:13.886795468 +0000
***************
*** 1649,1654 ****
--- 1649,1657 ----
  " QL
  au BufRead,BufNewFile *.ql,*.qll              setf ql
  
+ " QMLdir
+ au BufRead,BufNewFile qmldir                  setf qmldir
+ 
  " Quarto
  au BufRead,BufNewFile *.qmd                   setf quarto
  
*** ../vim-9.0.1407/src/testdir/test_filetype.vim       2023-03-16 
15:54:14.671322586 +0000
--- src/testdir/test_filetype.vim       2023-03-16 19:28:13.886795468 +0000
***************
*** 471,476 ****
--- 471,477 ----
      \ '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'],
*** ../vim-9.0.1407/src/version.c       2023-03-16 15:54:14.671322586 +0000
--- src/version.c       2023-03-16 19:29:02.542808229 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1408,
  /**/

-- 
       Bravely bold Sir Robin, rode forth from Camelot,
       He was not afraid to die, Oh Brave Sir Robin,
       He was not at all afraid to be killed in nasty ways
       Brave, brave, brave, brave Sir Robin.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230316193113.738E81C0C56%40moolenaar.net.

Raspunde prin e-mail lui