m2mdas / phpcomplete-extended

A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
MIT License
216 stars 23 forks source link

Completion is not working #64

Closed DerpDarako closed 7 years ago

DerpDarako commented 7 years ago

Hello,

Sorry for this issue, I think the problem is on my side but the plugin is not working for me. I installed pathogen then i followed your instructions :

git clone https://github.com/Shougo/vimproc.vim.git ~/.vim/bundle/vimproc.vim
cd ~/.vim/bundle/vimproc.vim
make
cd ..
git clone https://github.com/Shougo/unite.vim.git ~/.vim/bundle/unit.vim
git clone https://github.com/m2mdas/phpcomplete-extended.git ~/.vim/bundle/phpcomplete-extended

Then i go in my php file; I enter "expl": ctrl-x ctrl-o => not working ctrl-shit-x ctrl-shit-o => not working

You will find below my .vimrc

set background=dark
set ai
set expandtab
set encoding=utf-8
au BufWinEnter * let w:m1=matchadd('ErrorMsg', '\%>80v.\+', -1)
highlight Space ctermbg=darkblue guibg=darkblue
highlight Tab ctermbg=darkgray guibg=darkgray

au BufWinEnter * let w:m2=matchadd('Tab', '\t', -1)
au BufWinEnter * let w:m3=matchadd('Space', '\s\+$\| \+\ze\t', -1)

"Configuration  syntaxcheck
syntax on
let checksyntax_auto = 1
let checksyntax#auto_enable_rx = '.'

"auto close tag for these extensions"
let g:closetag_filenames = "*.html,*.xhtml,*.phtml,*.twig"
""Syntax twig
au BufRead,BufNewFile *.twig set filetype=htmljinja

execute pathogen#infect()
autocmd  FileType  php setlocal omnifunc=phpcomplete_extended#CompletePHP

I just removed specific indent from my vimrc.

Can you help me?

Best regards

DerpDarako commented 7 years ago

I m so heavy. I fixed it