diff options
author | Peter Palfrader <peter@palfrader.org> | 2013-03-26 23:26:58 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2013-03-26 23:26:58 +0000 |
commit | 5578f5529e692cc4cc30b010a04e67ae77a65856 (patch) | |
tree | d0c4e7f21703c51152e5534fca2262c5fe925bc2 /vimrc | |
parent | 4476733e05eadd57e147177d45c43cdc917af224 (diff) |
DetectIndent conditional on existing
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@606 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,10 +30,11 @@ nnoremap <silent> <space><right> :tabnext<return> nnoremap <silent> <C-B> :!make<return> colorscheme peachpuff set wildmode=longest,list:longest,list:full +" set number set spellfile=~/.vim.spell.en.add :nmap <F8> :set invspell<return> :imap <F8> <C-O>:set invspell<return> -:autocmd BufReadPost * :DetectIndent +:autocmd BufReadPost * if exists(":DetectIndent") | :DetectIndent | endif " "hi Search cterm=NONE ctermfg=white ctermbg=darkgreen hi Search cterm=NONE ctermfg=yellow ctermbg=19 |