Patch 8.2.4352

5 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 12, 2022, 5:35:29 AM2/12/22
to vim...@googlegroups.com

Patch 8.2.4352
Problem: ReScript files are not recognized.
Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4351/runtime/filetype.vim 2022-01-31 17:08:05.653352132 +0000
--- runtime/filetype.vim 2022-02-12 10:28:55.705479637 +0000
***************
*** 1547,1552 ****
--- 1547,1555 ----
" Remind
au BufNewFile,BufRead .reminders,*.remind,*.rem setf remind

+ " ReScript
+ au BufNewFile,BufRead *.res,*.resi setf rescript
+
" Resolv.conf
au BufNewFile,BufRead resolv.conf setf resolv

*** ../vim-8.2.4351/src/testdir/test_filetype.vim 2022-02-05 20:23:56.240673775 +0000
--- src/testdir/test_filetype.vim 2022-02-12 10:29:53.489336792 +0000
***************
*** 436,441 ****
--- 436,442 ----
\ 'readline': ['.inputrc', 'inputrc'],
\ 'remind': ['.reminders', 'file.remind', 'file.rem', '.reminders-file'],
\ 'rego': ['file.rego'],
+ \ 'rescript': ['file.res', 'file.resi'],
\ 'resolv': ['resolv.conf'],
\ 'reva': ['file.frt'],
\ 'rexx': ['file.rex', 'file.orx', 'file.rxo', 'file.rxj', 'file.jrexx', 'file.rexxj', 'file.rexx', 'file.testGroup', 'file.testUnit'],
*** ../vim-8.2.4351/src/version.c 2022-02-12 10:13:09.743720176 +0000
--- src/version.c 2022-02-12 10:33:26.952806560 +0000
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4352,
/**/

--
Time is an illusion. Lunchtime doubly so.
-- Ford Prefect, in Douglas Adams'
"The Hitchhiker's Guide to the Galaxy"

/// 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