aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-04-24 00:47:51 -0700
committerkatherine <shmibs@shmibbles.me>2016-04-24 00:47:51 -0700
commit3b79e682762cdf5d65e173da0a0e84e3fedcb221 (patch)
treeaefc99c1dcaf4e920c06169ef94cdeae711f4d85 /.vimrc
parentdc25c18e3ffbfa8be7113320db80ea2dcad14814 (diff)
downloaddotfiles-3b79e682762cdf5d65e173da0a0e84e3fedcb221.tar.gz
expandtabs for ft=conf
for the sake of .ronn, which are recognised as conf
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 6 insertions, 1 deletions
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 <buffer> -- O#<Space>
endfunction
+function! Settings_conf()
+ call Settings_script()
+ setlocal expandtab
+endfunction
+
function! Settings_elixir()
"settings
setlocal shiftwidth=2