mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.0.1230: Apache thrift files are not recognized
Problem: Apache thrift files are not recognized. Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859)
This commit is contained in:
committed by
Bram Moolenaar
parent
040e795e8d
commit
f3da4c8427
@ -2106,6 +2106,9 @@ au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo
|
||||
" 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
|
||||
|
||||
|
@ -580,6 +580,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1230,
|
||||
/**/
|
||||
1229,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user