summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-01-22 18:16:44 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 18:16:44 +0000
commitf3da4c8427b1b12d7aaffa307ec085ca97ea9ad9 (patch)
treeca270ae766b5531635fe374fafc2f50a3149041d /runtime
parent040e795e8da05ff38cc896528d4dcad100f0b584 (diff)
patch 9.0.1230: Apache thrift files are not recognizedv9.0.1230
Problem: Apache thrift files are not recognized. Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index fae19b9f8c..0ce1046433 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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