From 69d47128244a06ee28e4b43191ef9216b04bce13 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 17 Jan 2020 19:21:59 +0300 Subject: syntax highlighting for toml docs --- .vim/ftdetect/toml.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .vim/ftdetect/toml.vim (limited to '.vim/ftdetect') 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 -- cgit v1.2.3