Patch 9.0.1229
Problem: Cap'n Proto files are not recognized.
Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi,
closes #11862)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1228/runtime/filetype.vim 2023-01-13 15:35:14.147630709
+0000
--- runtime/filetype.vim 2023-01-22 13:08:07.904989891 +0000
***************
*** 277,282 ****
--- 277,285 ----
" Calendar
au BufNewFile,BufRead calendar setf calendar
+ " Cap'n Proto
+ au BufNewFile,BufRead *.capnp setf capnp
+
" C#
au BufNewFile,BufRead *.cs,*.csx setf cs
*** ../vim-9.0.1228/src/testdir/test_filetype.vim 2023-01-13
15:35:14.147630709 +0000
--- src/testdir/test_filetype.vim 2023-01-22 13:08:07.904989891 +0000
***************
*** 96,101 ****
--- 96,102 ----
\ 'cabalconfig': ['cabal.config'],
\ 'cabalproject': ['cabal.project', 'cabal.project.local'],
\ 'calendar': ['calendar', '/.calendar/file',
'/share/calendar/any/calendar.file', '/share/calendar/calendar.file',
'any/share/calendar/any/calendar.file', 'any/share/calendar/calendar.file'],
+ \ 'capnp': ['file.capnp'],
\ 'catalog': ['catalog', 'sgml.catalogfile', 'sgml.catalog',
'sgml.catalog-file'],
\ 'cdl': ['file.cdl'],
\ 'cdrdaoconf': ['/etc/cdrdao.conf', '/etc/defaults/cdrdao',
'/etc/default/cdrdao', '.cdrdao', 'any/etc/cdrdao.conf',
'any/etc/default/cdrdao', 'any/etc/defaults/cdrdao'],
*** ../vim-9.0.1228/src/version.c 2023-01-22 12:41:52.000484614 +0000
--- src/version.c 2023-01-22 13:09:52.561034451 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1229,
/**/
--
Everyone has a photographic memory. Most don't have a memory card.
/// 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/20230122131109.3B04A1C0548%40moolenaar.net.