Patch 9.0.1230

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 22, 2023, 1:17:22 PM1/22/23
to vim...@googlegroups.com

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