Skip to content

Commit 031b604

Browse files
Merge pull request #23 from finalfantasia/master
Update Deoplete configuration snippet
2 parents 744ec7b + 87827ab commit 031b604

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Provides async clojure completion for:
44

5+
* [deoplete.nvim][]
56
* [ncm2][]
67
* [asyncomplete.vim][]
78
* [coc.nvim][]
@@ -25,16 +26,12 @@ your favourite plugin manager, mine is [vim-plug][]
2526
Plug 'clojure-vim/async-clj-omni'
2627
```
2728

28-
You also need to include the following lines in your init.vim:
29+
You also need to include the following line in your init.vim:
2930

3031
```vim
31-
let g:deoplete#keyword_patterns = {}
32-
let g:deoplete#keyword_patterns.clojure = '[\w!$%&*+/:<=>?@\^_~\-\.#]*'
32+
call deoplete#custom#option('keyword_patterns', {'clojure': '[\w!$%&*+/:<=>?@\^_~\-\.#]*'})
3333
```
3434

35-
As I improve them, they may be PR'd into deoplete.vim, but I'm not yet
36-
comfortable suggesting that change upstream.
37-
3835
### Nvim Completion Manager 2
3936

4037
1. Follow the install instructions for [ncm2][].

0 commit comments

Comments
 (0)