To: vim_dev@googlegroups.com Subject: Patch 9.0.0752 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0752 Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes #11369) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0751/runtime/filetype.vim 2022-10-12 12:09:35.304864292 +0100 --- runtime/filetype.vim 2022-10-14 20:19:30.890291349 +0100 *************** *** 1628,1633 **** --- 1628,1636 ---- au BufNewFile,BufRead *.rmd,*.smd setf rmd endif + " R profile file + au BufNewFile,BufRead .Rprofile,Rprofile,Rprofile.site setf r + " RSS looks like XML au BufNewFile,BufRead *.rss setf xml *** ../vim-9.0.0751/src/testdir/test_filetype.vim 2022-10-12 12:09:35.308864295 +0100 --- src/testdir/test_filetype.vim 2022-10-14 20:19:30.890291349 +0100 *************** *** 453,459 **** \ 'ql': ['file.ql', 'file.qll'], \ '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'], \ 'radiance': ['file.rad', 'file.mat'], \ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'], \ 'raml': ['file.raml'], --- 453,459 ---- \ 'ql': ['file.ql', 'file.qll'], \ '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'], \ 'radiance': ['file.rad', 'file.mat'], \ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'], \ 'raml': ['file.raml'], *** ../vim-9.0.0751/src/version.c 2022-10-14 20:09:00.895207512 +0100 --- src/version.c 2022-10-14 20:21:34.544103034 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 752, /**/ -- ARTHUR: Charge! [They all charge with swords drawn towards the RABBIT. A tremendous twenty second fight with Peckinpahish shots and borrowing heavily also on the Kung Fu and karate-type films ensues, in which some four KNIGHTS are comprehensively killed.] ARTHUR: Run away! Run away! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@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 ///