mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +08:00
Fix issue with LanguageClient-neovim && deoplete
fix https://github.com/autozimu/LanguageClient-neovim/issues/169
This commit is contained in:
parent
a7a5c91e56
commit
65f66e2aea
@ -91,6 +91,11 @@ let g:deoplete#keyword_patterns.clojure = '[\w!$%&*+/:<=>?@\^_~\-\.#]*'
|
|||||||
" public settings
|
" public settings
|
||||||
call deoplete#custom#set('_', 'matchers', ['matcher_full_fuzzy'])
|
call deoplete#custom#set('_', 'matchers', ['matcher_full_fuzzy'])
|
||||||
let g:deoplete#ignore_sources._ = get(g:deoplete#ignore_sources, '_', ['around', 'LanguageClient'])
|
let g:deoplete#ignore_sources._ = get(g:deoplete#ignore_sources, '_', ['around', 'LanguageClient'])
|
||||||
|
for key in keys(g:deoplete#ignore_sources)
|
||||||
|
if key != '_' && index(keys(get(g:, 'LanguageClient_serverCommands', {})), key) == -1
|
||||||
|
let g:deoplete#ignore_sources[key] = g:deoplete#ignore_sources[key] + ['around', 'LanguageClient']
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
inoremap <expr><C-h> deoplete#mappings#smart_close_popup()."\<C-h>"
|
inoremap <expr><C-h> deoplete#mappings#smart_close_popup()."\<C-h>"
|
||||||
inoremap <expr><BS> deoplete#mappings#smart_close_popup()."\<C-h>"
|
inoremap <expr><BS> deoplete#mappings#smart_close_popup()."\<C-h>"
|
||||||
set isfname-==
|
set isfname-==
|
||||||
|
@ -5,15 +5,17 @@ title: "SpaceVim autocomplete layer"
|
|||||||
# [SpaceVim Layers:](https://spacevim.org/layers) autocomplete
|
# [SpaceVim Layers:](https://spacevim.org/layers) autocomplete
|
||||||
|
|
||||||
<!-- vim-markdown-toc GFM -->
|
<!-- vim-markdown-toc GFM -->
|
||||||
* [Description](#description)
|
|
||||||
* [Install](#install)
|
- [Description](#description)
|
||||||
* [Configuration](#configuration)
|
- [Install](#install)
|
||||||
* [Key bindings](#key-bindings)
|
- [Configuration](#configuration)
|
||||||
* [Snippets directories](#snippets-directories)
|
- [Key bindings](#key-bindings)
|
||||||
* [Show snippets in auto-completion popup](#show-snippets-in-auto-completion-popup)
|
- [Snippets directories](#snippets-directories)
|
||||||
* [Key bindings](#key-bindings-1)
|
- [Show snippets in auto-completion popup](#show-snippets-in-auto-completion-popup)
|
||||||
* [auto-complete](#auto-complete)
|
- [LSP supported](#lsp-supported)
|
||||||
* [Neosnippet](#neosnippet)
|
- [Key bindings](#key-bindings-1)
|
||||||
|
- [auto-complete](#auto-complete)
|
||||||
|
- [Neosnippet](#neosnippet)
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
@ -95,6 +97,8 @@ call SpaceVim#layers#load('autocomplete', {
|
|||||||
\ })
|
\ })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## LSP supported
|
||||||
|
|
||||||
## Key bindings
|
## Key bindings
|
||||||
|
|
||||||
### auto-complete
|
### auto-complete
|
||||||
|
Loading…
Reference in New Issue
Block a user