From 3019190ceb57d12ba0b4efb5a3fb2ea72fdf4825 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Mon, 25 Jul 2022 19:17:43 +0200 Subject: [PATCH] vimrc: add toml config --- roles/dotfiles/files/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 78294b4..affc948 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -7,6 +7,8 @@ syntax on au BufNewFile,BufRead *.go set tabstop=4 softtabstop=4 shiftwidth=4 \ expandtab autoindent fileformat=unix +au BufNewFile,BufRead *.toml set tabstop=4 softtabstop=4 shiftwidth=4 + \ expandtab autoindent fileformat=unix au BufNewFile,BufRead *.yaml set tabstop=2 softtabstop=2 shiftwidth=2 \ expandtab autoindent fileformat=unix au BufNewFile,BufRead *.html,*.css set tabstop=2 softtabstop=2 shiftwidth=2 @@ -54,6 +56,7 @@ Plug 'sainnhe/sonokai' Plug 'vim-python/python-syntax' Plug 'wgwoods/vim-systemd-syntax' Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } +Plug 'cespare/vim-toml',{ 'branch': 'main' } call plug#end() " Theme