deoplete-plugins / deoplete-zsh Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Currently, hardcoded compinit -d ~/.zcompdump_capture
, it will create .zcompdump
cache to user home directory.
But, I would like to keep clearly the home directory as much as possible.
I think under the $XDG_CACHE_HOME
is better.
Hi @zchee , thank you for your implement! It works pretty well in .zsh
file, but not in .sh
file.
Notice that zsh
is compatible with sh
, can this plugin also works .sh
file?
Hi, I use vim-plug, how would I install this? I only ask as there are no installation instructions and it contains a python dependency, so I dont think (could be wrong!) that a simple zplug 'deoplete-plugins/deoplete-zsh'
will work, thank you!
dein.vim
deoplete.nvim
deol.nvim
deoplete-zsh
で再現しました
以下最小構成です
[[plugins]]
repo = "Shougo/deol.nvim"
[[plugins]]
repo = 'deoplete-plugins/deoplete-zsh'
[[plugins]]
repo = 'Shougo/deoplete.nvim'
hook_source = '''
let g:deoplete#enable_at_startup = 1
call deoplete#custom#option({
\ 'nofile_complete_filetypes': ['zsh'],
\ })
inoremap <expr><Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr><S-Tab> pumvisible() ? "\<UP>" : "\<S-Tab>"
'''
It seems that this plugin won't work with last deoplete.nvim
. I keep getting error
ImportError: No module named 'deoplete.sources'
This error appeared recently
(vim 0.3.1, latest deoplete)
[deoplete] Traceback (most recent call last):
File "/Users/laurenzi/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/child.py", line
220, in _gather_results
ctx['candidates'] = source.gather_candidates(ctx)
File "/Users/laurenzi/.vim/bundle/deoplete-zsh/rplugin/python3/deoplete/sources/deoplete_
zsh.py", line 27, in gather_candidates
capture = globruntime(context['runtimepath'], 'bin/capture.zsh')
KeyError: 'runtimepath'
Error from zsh: KeyError('runtimepath',). Use :messages / see above for error details.
[deoplete] Traceback (most recent call last):
File "/Users/laurenzi/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/child.py", line
220, in _gather_results
ctx['candidates'] = source.gather_candidates(ctx)
File "/Users/laurenzi/.vim/bundle/deoplete-zsh/rplugin/python3/deoplete/sources/deoplete_
zsh.py", line 27, in gather_candidates
capture = globruntime(context['runtimepath'], 'bin/capture.zsh')
KeyError: 'runtimepath'
Error from zsh: KeyError('runtimepath',). Use :messages / see above for error details.
[deoplete] Too many errors from "zsh". This source is disabled until Neovim is restarted.
source
".開いているファイルにある関数を補完されますが、
source
や.
によって読み込まれた関数は補完されません。
なので、source
などで読み込んだ関数も補完できるようにしてほしいです。
(Issue立てるのは初めてなので、何か問題があれば教えてください)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.