diff options
Diffstat (limited to '.vim/ftdetect/toml.vim')
-rw-r--r-- | .vim/ftdetect/toml.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.vim/ftdetect/toml.vim b/.vim/ftdetect/toml.vim new file mode 100644 index 0000000..568dd82 --- /dev/null +++ b/.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 |