Patch 9.0.1230
Problem: Apache thrift files are not recognized.
Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1229/runtime/filetype.vim 2023-01-22 13:10:35.605050971
+0000
--- runtime/filetype.vim 2023-01-22 18:13:39.054052668 +0000
***************
*** 2106,2111 ****
--- 2106,2114 ----
" TeX configuration
au BufNewFile,BufRead texmf.cnf setf texmf
+ " Thrift (Apache)
+ au BufNewFile,BufRead *.thrift setf thrift
+
" Tidy config
au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
*** ../vim-9.0.1229/src/testdir/test_filetype.vim 2023-01-22
13:10:35.609050973 +0000
--- src/testdir/test_filetype.vim 2023-01-22 18:13:39.054052668 +0000
***************
*** 580,585 ****
--- 580,586 ----
\ 'texmf': ['texmf.cnf'],
\ 'text': ['file.text', 'file.txt', 'README', 'LICENSE', 'COPYING',
'AUTHORS', '/usr/share/doc/bash-completion/AUTHORS',
'/etc/apt/apt.conf.d/README', '/etc/Muttrc.d/README'],
\ 'tf': ['file.tf', '.tfrc', 'tfrc'],
+ \ 'thrift': ['file.thrift'],
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
\ 'tilde': ['file.t.html'],
\ 'tla': ['file.tla'],
*** ../vim-9.0.1229/src/version.c 2023-01-22 13:10:35.609050973 +0000
--- src/version.c 2023-01-22 18:14:58.182083007 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1230,
/**/
--
The users that I support would double-click on a landmine to find out
what happens. -- A system administrator
/// 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/20230122181715.D60261C0548%40moolenaar.net.