mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04: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:
parent
040e795e8d
commit
f3da4c8427
@ -2106,6 +2106,9 @@ au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo
|
|||||||
" TeX configuration
|
" TeX configuration
|
||||||
au BufNewFile,BufRead texmf.cnf setf texmf
|
au BufNewFile,BufRead texmf.cnf setf texmf
|
||||||
|
|
||||||
|
" Thrift (Apache)
|
||||||
|
au BufNewFile,BufRead *.thrift setf thrift
|
||||||
|
|
||||||
" Tidy config
|
" Tidy config
|
||||||
au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
|
au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
|
||||||
|
|
||||||
|
@ -580,6 +580,7 @@ let s:filename_checks = {
|
|||||||
\ 'texmf': ['texmf.cnf'],
|
\ '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'],
|
\ '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'],
|
\ 'tf': ['file.tf', '.tfrc', 'tfrc'],
|
||||||
|
\ 'thrift': ['file.thrift'],
|
||||||
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
|
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
|
||||||
\ 'tilde': ['file.t.html'],
|
\ 'tilde': ['file.t.html'],
|
||||||
\ 'tla': ['file.tla'],
|
\ 'tla': ['file.tla'],
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1230,
|
||||||
/**/
|
/**/
|
||||||
1229,
|
1229,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user