From 02d3a86a1107814616ac0da7b54d7a38cfc47ea7 Mon Sep 17 00:00:00 2001 From: shmibs Date: Mon, 1 Jun 2015 22:51:16 -0700 Subject: add filetype text --- .vimrc | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 01b10fd..0a4d03a 100644 --- a/.vimrc +++ b/.vimrc @@ -135,8 +135,11 @@ let g:c_no_if0_fold = 1 autocmd FileType asm call Settings_asm() autocmd FileType c call Settings_c() autocmd FileType cpp call Settings_c() +autocmd FileType css call Settings_c() autocmd FileType tex call Settings_tex() autocmd FileType haskell call Settings_haskell() +autocmd FileType html call Settings_html() +autocmd FileType xhtml call Settings_html() autocmd FileType make call Settings_script() autocmd FileType matlab call Settings_matlab() autocmd FileType nim call Settings_nim() @@ -145,6 +148,7 @@ autocmd FileType python call Settings_script() autocmd FileType ruby call Settings_script() autocmd FileType rust call Settings_rust() autocmd FileType sh call Settings_script() +autocmd FileType text call Settings_text() autocmd FileType vim call Settings_vim() autocmd FileType zsh call Settings_script() @@ -160,6 +164,7 @@ function! Settings_c() setlocal foldmethod=syntax setlocal shiftwidth=4 setlocal tabstop=4 + setlocal softtabstop=4 "mappings nnoremap -- O*/hhi/* endfunction @@ -170,6 +175,16 @@ function! Settings_haskell() nnoremap -- O-- endfunction +function! Settings_html() + "settings + setlocal foldmethod=syntax + setlocal shiftwidth=4 + setlocal tabstop=4 + setlocal softtabstop=4 + "mappings + nnoremap -- O-->hhhi