diff options
author | katherine <shmibs@shmibbles.me> | 2016-04-24 00:47:51 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2016-04-24 00:47:51 -0700 |
commit | 3b79e682762cdf5d65e173da0a0e84e3fedcb221 (patch) | |
tree | aefc99c1dcaf4e920c06169ef94cdeae711f4d85 | |
parent | dc25c18e3ffbfa8be7113320db80ea2dcad14814 (diff) | |
download | dotfiles-3b79e682762cdf5d65e173da0a0e84e3fedcb221.tar.gz |
expandtabs for ft=conf
for the sake of .ronn, which are recognised as conf
-rw-r--r-- | .vimrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 <buffer> -- O#<Space> endfunction +function! Settings_conf() + call Settings_script() + setlocal expandtab +endfunction + function! Settings_elixir() "settings setlocal shiftwidth=2 |