aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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