aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-01-22 05:20:59 -0700
committerkatherine <shmibs@shmibbles.me>2016-01-22 05:20:59 -0700
commit252c49b595fab379c600eb139d20b44731a76c98 (patch)
treedd5a0e1f7b1ae95429c7f7d9ed25241f3b42adb2
parente34698116a493c34fa4b584e500e9c6b5f5dd74a (diff)
downloaddotfiles-252c49b595fab379c600eb139d20b44731a76c98.tar.gz
haskell settings
-rw-r--r--.vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 0245e50..0955b90 100644
--- a/.vimrc
+++ b/.vimrc
@@ -221,6 +221,10 @@ endfunction
function! Settings_haskell()
"settings
+ setlocal shiftwidth=4
+ setlocal tabstop=4
+ setlocal softtabstop=4
+ setlocal expandtab
"mappings
nnoremap <buffer> -- O--<Space>
endfunction
@@ -256,6 +260,13 @@ function! Settings_nim()
nnoremap <buffer> -_ O##<Space>
endfunction
+function! Settings_python()
+ call Settings_script()
+ "settings
+ setlocal expandtab
+ "mappings
+endfunction
+
function! Settings_script()
"settings
setlocal shiftwidth=4