Patch 8.2.2006
Problem: .pbtxt files are not recognized.
Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.2005/runtime/filetype.vim 2020-11-06 18:52:51.281206341
+0100
--- runtime/filetype.vim 2020-11-18 12:09:11.551865450 +0100
***************
*** 1305,1310 ****
--- 1305,1311 ----
" Google protocol buffers
au BufNewFile,BufRead *.proto setf proto
+ au BufNewFile,BufRead *.pbtxt setf pbtxt
" Protocols
au BufNewFile,BufRead */etc/protocols setf protocols
*** ../vim-8.2.2005/src/testdir/test_filetype.vim 2020-11-06
18:52:51.281206341 +0100
--- src/testdir/test_filetype.vim 2020-11-18 12:09:11.551865450 +0100
***************
*** 345,350 ****
--- 345,351 ----
\ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'],
\ 'pascal': ['file.pas', 'file.pp', 'file.dpr', 'file.lpr'],
\ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit',
'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit',
'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak', '/etc/passwd',
'/etc/passwd-', '/etc/passwd.edit', '/etc/shadow', '/etc/shadow-',
'/etc/shadow.edit', '/var/backups/passwd.bak', '/var/backups/shadow.bak'],
+ \ 'pbtxt': ['file.pbtxt'],
\ 'pccts': ['file.g'],
\ 'pdf': ['file.pdf'],
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc',
'.gitolite.rc', 'example.gitolite.rc'],
*** ../vim-8.2.2005/src/version.c 2020-11-18 11:34:30.182191403 +0100
--- src/version.c 2020-11-18 12:10:30.339763967 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2006,
/**/
--
hundred-and-one symptoms of being an internet addict:
270. You are subscribed to a mailing list for every piece of software
you use.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202011181113.0AIBD6ex013298%40masaka.moolenaar.net.