Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

tamago324/compe-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compe-zsh

Zsh completion source for nvim-compe

Requirements

zmodload zsh/zpty

Installation

Plug 'hrsh7th/nvim-compe'
Plug 'tamago324/compe-zsh'
Plug 'nvim-lua/plenary.nvim'
Plug 'Shougo/deol.nvim'      " recommended to use together.

lua << EOF
require'compe'.setup {
  -- ...
  source = {
    -- ...
    zsh = true,
  }
}
EOF

Configuration

It saves compdump file in $COMPE_ZSH_CACHE_DIR or $XDG_CACHE_HOME or $HOME/.cache directory.

NOTE: In my case, I had to add the directory of the complete function to $FPATH in ~/.zshenv.

# completions
if [ -d $HOME/.zsh/comp ]; then
    export FPATH="$HOME/.zsh/comp:$FPATH"
fi

Credit

License

MIT

About

zsh completion source for nvim-compe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published