Comments (9)
Please post output of :checkhealth
and phpactor#Status()
.
from deoplete-phpactor.
health#deoplete#check
========================================================================
## deoplete.nvim
- OK: exists("v:t_list") was successful
- OK: has("timers") was successful
- OK: has("python3") was successful
- INFO: If you're still having problems, try the following commands:
$ export NVIM_PYTHON_LOG_FILE=/tmp/log
$ export NVIM_PYTHON_LOG_LEVEL=DEBUG
$ nvim
$ cat /tmp/log_{PID}
and then create an issue on github
health#nvim#check
========================================================================
## Configuration
- OK: no issues found
## Performance
- OK: Build type: RelWithDebInfo
## Remote Plugins
- OK: Up to date
## terminal
- INFO: key_backspace (kbs) terminfo entry: key_backspace=\177
- INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
- INFO: $XTERM_VERSION=''
- INFO: $TERM_PROGRAM=''
- INFO: $SSH_TTY=''
health#provider#check
========================================================================
## Clipboard (optional)
- OK: Clipboard tool found: xsel
## Python 2 provider (optional)
- INFO: `g:python_host_prog` is not set. Searching for python2 in the environment.
- INFO: Executable: /usr/bin/python2
- INFO: Python2 version: 2.7.15
- INFO: python2-neovim version: 0.2.0 (outdated; from /usr/lib/python2.7/dist-packages/neovim)
- WARNING: Latest python2-neovim is NOT installed: 0.2.6
## Python 3 provider (optional)
- INFO: `g:python3_host_prog` is not set. Searching for python3 in the environment.
- INFO: Executable: /usr/bin/python3
- INFO: Python3 version: 3.6.5
- INFO: python3-neovim version: 0.2.6
- OK: Latest python3-neovim is installed: 0.2.6
## Ruby provider (optional)
- WARNING: `ruby` and `gem` must be in $PATH.
- ADVICE:
- Install Ruby and verify that `ruby` and `gem` commands work.
## Node provider (optional)
- WARNING: `node` and `npm` must be in $PATH.
- ADVICE:
- Install Node.js and verify that `node` and `npm` commands work.
Info
----
Version: fb66ece (11 days ago) try-building-the-docs-stage-with-php7.2
Work dir: /home/wenchao
Diagnostics
-----------
[✔] XDebug is disabled. XDebug has a negative effect on performance.
[✘] Composer not found - some functionality will not be available (e.g. class creation) and class location will fallback to scanning the fil
esystem - this can be slow.
[✘] Git not detected. Some operations which would have been better scoped to your project repository will now include vendor paths.
Config files
------------
[✘] /etc/xdg/phpactor/phpactor.yml
[✘] /etc/xdg/xdg-ubuntu-communitheme-snap/phpactor/phpactor.yml
[✘] /home/wenchao/.config/phpactor/phpactor.yml
[✘] /home/wenchao/.phpactor.yml
from deoplete-phpactor.
Try adding this to your vimrc:
autocmd Filetype php setlocal omnifunc=phpactor#Complete
and then try autocompleting with <C-x><C-o>
, to see if you get any errors.
from deoplete-phpactor.
Commented code :
let g:deoplete#enable_at_startup = 1
Add :
autocmd Filetype php setlocal omnifunc=phpactor#Complete
<C-x><C-o>
It started working, no errors
from deoplete-phpactor.
Thanks
from deoplete-phpactor.
@zhang-wenchao is it working with deoplete? The code i gave you trigger the autocompletion manually. I just wanted to make sure your phpactor is working.
from deoplete-phpactor.
I think I found the cause of the error.
I use a plugin phpcd.vim .
phpcd.vim setting
let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {})
let g:deoplete#ignore_sources.php = ['omni']
remove phpcd.vim, deoplete-phpactor working with deoplete
from deoplete-phpactor.
Please try phpcd.vim, it is much faster than this speed.
from deoplete-phpactor.
Ok thanks, great to know.
from deoplete-phpactor.
Related Issues (6)
- PHP Path HOT 2
- Sort results HOT 6
- Error on any completion HOT 2
- phpactorOmniAutoClassImport not working HOT 1
- Constructor completion HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deoplete-phpactor.