summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:16:29 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:16:29 +0100
commite685e4b431ab017d1aec9f9668fbeeeb6e7113e6 (patch)
tree47137f448d461ebb6852d81c6f553d0843e33764 /ftdetect
parente404a658b1647fad396a954776eda0bdabf8353c (diff)
downloadvim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.tar.gz
vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.zip
Update
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim9
1 files changed, 4 insertions, 5 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index f6f18c6d..02e8832a 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -334,6 +334,8 @@ endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
au BufRead,BufNewFile *.hsc set filetype=haskell
+au BufRead,BufNewFile *.bpk set filetype=haskell
+au BufRead,BufNewFile *.hsig set filetype=haskell
endif
@@ -613,7 +615,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -
" Vim ftdetect file
" Language: PlantUML
" Maintainer: Aaron C. Meadows < language name at shadowguarddev dot com>
-" Last Change: 19-Jun-2012
" Version: 0.1
if did_filetype()
@@ -955,10 +956,8 @@ endif
" ftdetect/toml.vim
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'toml') == -1
-autocmd BufNewFile,BufRead *.toml set filetype=toml
-
-" Rust uses Cargo.toml and Cargo.lock (both are toml files).
-autocmd BufNewFile,BufRead Cargo.lock set filetype=toml
+" Rust uses several TOML config files that are not named with .toml.
+autocmd BufNewFile,BufRead *.toml,Cargo.lock,.cargo/config set filetype=toml
endif