diff options
Diffstat (limited to 'plugin/indent.vim')
-rwxr-xr-x | plugin/indent.vim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugin/indent.vim b/plugin/indent.vim index e5f1118..8191d82 100755 --- a/plugin/indent.vim +++ b/plugin/indent.vim @@ -8,3 +8,27 @@ set expandtab set smarttab set autoindent + + + +highlight BadWhitespace ctermbg=red guibg=red +set hlsearch + + +" make backspaces more powerfull +set backspace=indent,eol,start + + + + +"js stuff" +autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 +autocmd FileType python set tabstop=2 softtabstop=2 shiftwidth=2 +autocmd FileType python set textwidth=79 expandtab autoindent + + +set fileformat=unix + +au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ +" +" |