Skip to content

Commit 5620d10

Browse files
Update Deoplete configuration snippet
1 parent 744ec7b commit 5620d10

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ your favourite plugin manager, mine is [vim-plug][]
2525
Plug 'clojure-vim/async-clj-omni'
2626
```
2727

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

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

3534
As I improve them, they may be PR'd into deoplete.vim, but I'm not yet

0 commit comments

Comments
 (0)