1
0
mirror of https://github.com/xlogerais/config-vim synced 2024-11-10 00:21:41 +01:00

Removed useless config directives in vimrc and gvimrc

This commit is contained in:
Xavier Logerais 2015-03-07 19:15:37 +01:00
parent b46ca50536
commit 89b68f4b83
2 changed files with 12 additions and 26 deletions

19
gvimrc
View File

@ -94,19 +94,12 @@ filetype on
filetype indent on filetype indent on
"misc "misc
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS " autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags " autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS " autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags " autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP " autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete " autocmd FileType c set omnifunc=ccomplete#Complete
"ruby
autocmd BufNewFile,BufRead *Capfile* set filetype=ruby
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
" ------[ Gestion des types de terminaux ] ---------------------------------------------- " ------[ Gestion des types de terminaux ] ----------------------------------------------

19
vimrc
View File

@ -94,19 +94,12 @@ filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins filetype plugin on " Enable filetype-specific plugins
"misc "misc
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS " autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags " autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS " autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags " autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP " autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete " autocmd FileType c set omnifunc=ccomplete#Complete
"ruby
autocmd BufNewFile,BufRead *Capfile* set filetype=ruby
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
" ------[ Gestion des types de terminaux ] ---------------------------------------------- " ------[ Gestion des types de terminaux ] ----------------------------------------------