aboutsummaryrefslogtreecommitdiff
path: root/.vim/ftdetect
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-01-17 19:21:59 +0300
committerYaroslav <contact@yaroslavps.com>2020-01-17 19:21:59 +0300
commit69d47128244a06ee28e4b43191ef9216b04bce13 (patch)
treed3b4998c2efde34d390f2473184c719505794b9c /.vim/ftdetect
parentfdbe40acd8b7582bf0771bdd1b8baf9c785c1abe (diff)
downloadvimrice-69d47128244a06ee28e4b43191ef9216b04bce13.tar.gz
vimrice-69d47128244a06ee28e4b43191ef9216b04bce13.zip
syntax highlighting for toml docs
Diffstat (limited to '.vim/ftdetect')
-rw-r--r--.vim/ftdetect/toml.vim2
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