summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-04-15 01:16:56 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2014-04-15 01:16:56 +0200
commitd681cb59d301334232851d7c1568554e33416404 (patch)
tree4879ee09a88bff8b500ec470219b5ee046eb3fb1 /ftdetect
parent0b50acdddfb5a90f7b6c21b9c299452fe9b68534 (diff)
downloadvim-polyglot-d681cb59d301334232851d7c1568554e33416404.tar.gz
vim-polyglot-d681cb59d301334232851d7c1568554e33416404.zip
Add toml script, closes #20
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 34e77b48..6be7b79c 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -129,6 +129,7 @@ autocmd BufNewFile,BufReadPost *.styl set filetype=stylus
autocmd BufNewFile,BufReadPost *.stylus set filetype=stylus
au BufRead,BufNewFile *.textile set filetype=textile
autocmd BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
+autocmd BufNewFile,BufRead *.toml set filetype=toml
autocmd BufNewFile,BufRead *.twig set filetype=twig
autocmd BufNewFile,BufRead *.html.twig set filetype=html.twig
autocmd BufNewFile,BufRead *.ts setlocal filetype=typescript