Comments (8)
Thanks for the update, will try it later!
from deoplete.nvim.
call deoplete#custom#source('lsp', 'is_volatile', v:false)
from deoplete.nvim.
Thanks for the quick tips! A really versatile plugin.
A further question, with is_volatile
as false
, if I am not satisfied with the candidates provided by lsp, how could force it to refresh lsp candiates?
from deoplete.nvim.
You can use deoplete#manual_complete()
for it.
from deoplete.nvim.
Here are my current settings. When enabling call deoplete#custom#source('lsp', 'is_volatile', v:false)
, very often the lsp candidates are not shown in the popup , even when I trigger the manual complete using <C-space>
.
LSP condidates are always shown in popup nearly instantly without is_volatile
setting. Any issues with my configs? Thanks!
let g:deoplete#enable_at_startup = 1
let g:deoplete#lsp#handler_enabled = v:false
let g:deoplete#lsp#use_icons_for_candidates = v:true
set completeopt+=noinsert
set shortmess+=c
call deoplete#custom#option('num_processes', 1)
call deoplete#custom#source('_', 'smart_case', v:true)
call deoplete#custom#source('_', 'mark', '')
" call deoplete#custom#source('lsp', 'is_volatile', v:false)
call deoplete#custom#option({
\ 'min_pattern_length': 1,
\ 'camel_case': v:true,
\ 'refresh_backspace': v:false,
\ 'auto_refresh_delay' : 10,
\ 'auto_complete_delay' : 10,
\ })
inoremap <expr> <CR> (pumvisible() ? "\<c-y>" : "\<CR>")
inoremap <silent> <C-Space> <C-r>=deoplete#manual_complete()<cr>
from deoplete.nvim.
Unfortunately, lsp source behavior depends on is_volatile
.
You need to enable is_volatile
instead.
No magic for it.
I develop new auto completion plugin currently.
https://github.com/Shougo/ddc.vim
deoplete is deprecated plugin and I don't plan to fix the problem.
from deoplete.nvim.
Thanks for update, deoplete is very smart and this small issue is bearable.
from deoplete.nvim.
I have added the feature in ddc.vim. Cheers.
from deoplete.nvim.
Related Issues (20)
- Unknown function: deoplete#custom#option HOT 5
- Crash in the `file` module on Windows 10
- Unable to change delay on the fly HOT 1
- Deloplete interfering with Coc ? HOT 7
- deoplete autocompletion not working HOT 1
- Errors with python 3.10 HOT 4
- Deoplete completion menu hides copilot suggestion HOT 6
- Mac OS X: VIM 8 - E605: Exception not caught: [vim-hug-neovim-rpc] requires one of `:pythonx import [pynvim|neovim]` command to work HOT 4
- Is it possible to trigger popup on shortcut? HOT 17
- ValueError: `column` parameter (8) is not in a valid range (0-0) for line 421 ('\n'). HOT 2
- [Suggestion] Disable deoplete on the fly HOT 2
- deoplete puts error on startup HOT 4
- How can I make tab select the suggestions instead of arrow keys? HOT 2
- [Bug] broken indention at 'elif' when editting python files HOT 1
- E605: Exception not caught HOT 8
- no notification handler registered for "deoplete.nvim/rplugin/python3/deoplete:function:_deoplete_init" HOT 2
- deoplete requires vim 8.2.1978+ in the error message when it is already installed HOT 5
- Homebrew version of Macvim shows error at start HOT 3
- Deoplete failed to load HOT 1
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.nvim.