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:
parent
b46ca50536
commit
89b68f4b83
19
gvimrc
19
gvimrc
@ -94,19 +94,12 @@ filetype on
|
||||
filetype indent on
|
||||
|
||||
"misc
|
||||
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
|
||||
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
|
||||
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
|
||||
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
|
||||
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
|
||||
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
|
||||
" autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
|
||||
" autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
|
||||
" autocmd FileType css set omnifunc=csscomplete#CompleteCSS
|
||||
" autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
|
||||
" autocmd FileType php set omnifunc=phpcomplete#CompletePHP
|
||||
" autocmd FileType c set omnifunc=ccomplete#Complete
|
||||
|
||||
" ------[ Gestion des types de terminaux ] ----------------------------------------------
|
||||
|
||||
|
19
vimrc
19
vimrc
@ -94,19 +94,12 @@ filetype indent on " Enable filetype-specific indenting
|
||||
filetype plugin on " Enable filetype-specific plugins
|
||||
|
||||
"misc
|
||||
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
|
||||
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
|
||||
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
|
||||
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
|
||||
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
|
||||
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
|
||||
" autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
|
||||
" autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
|
||||
" autocmd FileType css set omnifunc=csscomplete#CompleteCSS
|
||||
" autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
|
||||
" autocmd FileType php set omnifunc=phpcomplete#CompletePHP
|
||||
" autocmd FileType c set omnifunc=ccomplete#Complete
|
||||
|
||||
" ------[ Gestion des types de terminaux ] ----------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user