Patch 8.2.4767

6 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 16, 2022, 4:34:42 PM4/16/22
to vim...@googlegroups.com

Patch 8.2.4767
Problem: Openscad files are not recognized.
Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4766/runtime/filetype.vim 2022-04-13 15:29:11.671030940 +0100
--- runtime/filetype.vim 2022-04-16 21:29:56.644402096 +0100
***************
*** 1275,1280 ****
--- 1275,1283 ----
" OPL
au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl

+ " OpenSCAD
+ au BufNewFile,BufRead *.scad setf openscad
+
" Oracle config file
au BufNewFile,BufRead *.ora setf ora

*** ../vim-8.2.4766/src/testdir/test_filetype.vim 2022-04-16 21:14:00.093544559 +0100
--- src/testdir/test_filetype.vim 2022-04-16 21:29:56.644402096 +0100
***************
*** 384,389 ****
--- 384,390 ----
\ 'omnimark': ['file.xom', 'file.xin'],
\ 'opam': ['opam', 'file.opam', 'file.opam.template'],
\ 'openroad': ['file.or'],
+ \ 'openscad': ['file.scad'],
\ 'ora': ['file.ora'],
\ 'org': ['file.org', 'file.org_archive'],
\ 'pamconf': ['/etc/pam.conf', '/etc/pam.d/file', 'any/etc/pam.conf', 'any/etc/pam.d/file'],
*** ../vim-8.2.4766/src/version.c 2022-04-16 21:14:00.097544559 +0100
--- src/version.c 2022-04-16 21:31:54.303676191 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4767,
/**/

--
login: yes
password: I don't know, please tell me
password is incorrect
login: yes
password: incorrect

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