From 3b79e682762cdf5d65e173da0a0e84e3fedcb221 Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 24 Apr 2016 00:47:51 -0700 Subject: expandtabs for ft=conf for the sake of .ronn, which are recognised as conf --- .vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index e4235ee..f0b765b 100644 --- a/.vimrc +++ b/.vimrc @@ -225,7 +225,7 @@ autocmd BufNewFile,BufRead *.tex set filetype=tex autocmd FileType asm call Settings_asm() autocmd FileType c call Settings_c() autocmd FileType coffee call Settings_coffee() -autocmd FileType conf call Settings_script() +autocmd FileType conf call Settings_conf() autocmd FileType cpp call Settings_c() autocmd FileType css call Settings_c() autocmd FileType d call Settings_c() @@ -275,6 +275,11 @@ function! Settings_coffee() nnoremap -- O# endfunction +function! Settings_conf() + call Settings_script() + setlocal expandtab +endfunction + function! Settings_elixir() "settings setlocal shiftwidth=2 -- cgit v1.2.3