- Vim >= 8.2 or neovim >= 0.5.0.
(DO NOT need python)
Using some Plugin-manager like vim-plug or Vunble: Put the line into your vimrc, then install it.
For vim-plug:
Plug 'JimmyHuang454/EasyCompleteYou'
For user in China:
You can use :ECY
to list all commands. Finally, you should selete an engine that works at current filetype by :ECYSwitchEngine
. Optionally, you need to install ultisnips to enable Snippet feature.
Name | Programming Language | Installer | Link |
---|---|---|---|
ECY.engines.default_engine | All | - | - |
ECY_engines.cpp.clangd | C/C++ | Yes | clangd |
ECY_engines.python.jedi_ls | Python3 | Yes | jedi language server |
ECY_engines.html.html | HTML | Yes | - |
ECY_engines.viml.vimlsp | Viml | Yes | viml language server |
ECY_engines.html.vls | Vue | Yes | vue language server |
ECY_engines.lua.lua | Lua | Yes | lua language server |
Example:
let g:ECY_config = {
\'name_of_the_LS':
\{'cmd': 'jedi-language-server', 'filetype': ['python'],
\'initializationOptions': {'completion': {'enabled': v:true}}},
\}
Example:
let g:ECY_config = {
\'ECY_engines.python.jedi_ls':{'cmd': 'jedi-language-server'},
\'ECY_engines.html.html': {'cmd': 'vscode-html-language-server'},
\'ECY': {'completion': {'color': {'matched':'my_matched_color'}}},
\}