summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-12-11 23:02:50 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-12-11 23:02:50 +0100
commitbbc6be1099dee66a69dd4d44e029c4c2dc37aee0 (patch)
treeb2ddaa79c35155bcaf5ab276b4644401c532706a /ftdetect
parent7f2e3663341d725b073857fcd3b2f5868ce85248 (diff)
downloadvim-polyglot-bbc6be1099dee66a69dd4d44e029c4c2dc37aee0.tar.gz
vim-polyglot-bbc6be1099dee66a69dd4d44e029c4c2dc37aee0.zip
Add thrift language support, closes #49
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 0e60f3ab..042316e3 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -195,6 +195,7 @@ au BufNewFile,BufRead *.swap set filetype=systemd
au BufNewFile,BufRead *.target set filetype=systemd
au BufNewFile,BufRead *.timer set filetype=systemd
au BufRead,BufNewFile *.textile set filetype=textile
+au BufNewFile,BufRead *.thrift setlocal filetype=thrift
autocmd BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
autocmd BufNewFile,BufRead *.toml set filetype=toml
autocmd BufNewFile,BufRead *.twig set filetype=twig