diff options
author | katherine <shmibs@shmibbles.me> | 2016-06-09 03:36:41 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2016-06-09 03:36:41 -0700 |
commit | 60cf7ac30d52c69bb8e156a309d8105a2d9025e5 (patch) | |
tree | a5986f5281c04c69cbe682c72b4d58ee08e1a774 | |
parent | 389dc83dc340219b1efad52c8c52f4f08a6ebfd3 (diff) | |
download | dotfiles-60cf7ac30d52c69bb8e156a309d8105a2d9025e5.tar.gz |
update vimrc filetype funcs
-rw-r--r-- | .vimrc | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -223,11 +223,12 @@ autocmd BufNewFile,BufRead *.tex set filetype=tex "the FileTypes in one dict (mostly because i have no idea what i'm "doing with viml), so separate lines it is. autocmd FileType asm call Settings_asm() +autocmd FileType bash call Settings_script() autocmd FileType c call Settings_c() autocmd FileType coffee call Settings_coffee() autocmd FileType conf call Settings_conf() autocmd FileType cpp call Settings_c() -autocmd FileType css call Settings_c() +autocmd FileType css call Settings_css() autocmd FileType d call Settings_c() autocmd FileType elixir call Settings_elixir() autocmd FileType tex call Settings_tex() @@ -243,6 +244,7 @@ autocmd FileType php call Settings_html() autocmd FileType python call Settings_script() autocmd FileType ruby call Settings_script() autocmd FileType rust call Settings_rust() +autocmd FileType scss call Settings_css() autocmd FileType sh call Settings_script() autocmd FileType text call Settings_text() autocmd FileType vim call Settings_vim() @@ -280,6 +282,15 @@ function! Settings_conf() setlocal expandtab endfunction +function! Settings_css() + call Settings_c() + "settings + setlocal shiftwidth=2 + setlocal tabstop=2 + setlocal softtabstop=2 + "mappings +endfunction + function! Settings_elixir() "settings setlocal shiftwidth=2 |