From f0d8a2304e75c8c4c30afb18da5803e2ceddb122 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Sat, 12 Oct 2019 22:17:27 -0600 Subject: Sync misc changes 20191012 --- base/vim/ftdetect/toml.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 base/vim/ftdetect/toml.vim (limited to 'base/vim/ftdetect') 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 -- cgit v1.2.3-70-g09d2