aboutsummaryrefslogtreecommitdiff
path: root/base/vim/ftdetect/toml.vim
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2019-10-12 22:17:27 -0600
committerAdam Hovorka <[email protected]>2019-10-12 22:17:27 -0600
commitf0d8a2304e75c8c4c30afb18da5803e2ceddb122 (patch)
treeeb67abe060d42219417a1e4b0d8b7ef4b4bc88a2 /base/vim/ftdetect/toml.vim
parent7ebb6f05eecb2369dbc43e499cd4277f13e5c5c5 (diff)
Sync misc changes 20191012
Diffstat (limited to 'base/vim/ftdetect/toml.vim')
-rw-r--r--base/vim/ftdetect/toml.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/vim/ftdetect/toml.vim b/base/vim/ftdetect/toml.vim
new file mode 100644
index 0000000..568dd82
--- /dev/null
+++ b/base/vim/ftdetect/toml.vim
@@ -0,0 +1,2 @@
+" Go dep and Rust use several TOML config files that are not named with .toml.
+autocmd BufNewFile,BufRead *.toml,Gopkg.lock,Cargo.lock,*/.cargo/config,*/.cargo/credentials,Pipfile setf toml