[vim] Move indent_finder. Remove "filetype plugin indent on" which was messing whith omnicompletion

This commit is contained in:
Mathieu Maret 2011-06-27 09:52:26 +02:00
parent 2435bc4b0a
commit 374b3d6355
4 changed files with 12 additions and 7 deletions

Binary file not shown.

19
.vimrc
View File

@ -85,19 +85,27 @@ set statusline=%<%f\ %h%w%m%r%3.(\ %)%{fugitive#statusline()}%=%([%{Tlist_Get_Ta
" always display status line " always display status line
set laststatus=2 set laststatus=2
" show bad white spaces
let c_space_errors = 1
let python_space_error_highlight = 1
highlight link cSpaceError SpaceError
highlight link pythonSpaceError SpaceError
highlight SpaceError ctermfg=235 cterm=reverse
""""""""""""""" """""""""""""""
" INDENTATION " " INDENTATION "
""""""""""""""" """""""""""""""
" use tabs at the start of a line, spaces elsewhere " use tabs at the start of a line, spaces elsewhere
" set smarttab " set smarttab
set smartindent " set smartindent
set autoindent " set autoindent
" tab=4 " tab=4
set tabstop=4 set tabstop=4
set softtabstop=4 set softtabstop=4
set shiftwidth=4 set shiftwidth=4
" real tabs " real tabs
set noexpandtab set noexpandtab
set smarttab
if has("autocmd") if has("autocmd")
" python " python
@ -115,9 +123,9 @@ endif
if has("autocmd") if has("autocmd")
" enable file type detection and do language-dependent indenting " enable file type detection and do language-dependent indenting
filetype plugin indent on " filetype plugin indent on
" detect indentation see http://www.freehackers.org/Indent_Finder " detect indentation see http://www.freehackers.org/Indent_Finder
autocmd BufReadPost * execute system ('python2 ~/.vim/plugin/indent_finder.py --vim-output "' . expand('%') . '"' ) autocmd BufReadPost * execute system ('python2 ~/.vim/indent_finder/indent_finder.py --vim-output "' . expand('%') . '"' )
else else
" auto-indent " auto-indent
@ -378,9 +386,6 @@ set tags=./tags " in file directory
set tags+=tags " in current directory set tags+=tags " in current directory
"for when programming in build dir "for when programming in build dir
set tags+=../tags set tags+=../tags
set tags+=~/.vim/qttags
set tags+=~/.vim/qtembedded
set tags+=~/.vim/tags/linux-sh4-ST-2.6.23.17
"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""
"Poser une marque visible avec F7 "Poser une marque visible avec F7