Patch 9.0.1408

3 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 16, 2023, 3:31:19 PM3/16/23
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages