Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f6dda1a

Browse files
committedMar 26, 2017
Document support for NCM
1 parent 26106f6 commit f6dda1a

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed
 

‎README.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Stories in Ready](https://badge.waffle.io/SevereOverfl0w/async-clj-omni.png?label=ready&title=Ready)](https://waffle.io/SevereOverfl0w/async-clj-omni)
22
# clj-async.nvim
33

4-
Provides async clojure completion through [deoplete.nvim][] and
4+
Provides async clojure completion through [deoplete.nvim][] or [ncm][] and
55
[nrepl-python-client][].
66

77
Trying to use Fireplace's omnicompletion with auto-complete is painfully
@@ -10,9 +10,14 @@ it does not block, it runs in it's own thread.
1010

1111
## Installation
1212

13-
Follow the install instructions for [deoplete.nvim][]. I'm not going to try
14-
and sync them here. Then just include with your favourite plugin manager,
15-
mine is [vim-plug][]
13+
### CIDER
14+
15+
For this plugin to work, your nREPL must have CIDER available. You can install it for [lein](https://github.com/clojure-emacs/cider-nrepl#via-leiningen) and [boot](https://github.com/boot-clj/boot/wiki/Cider-REPL).
16+
17+
### Deoplete
18+
19+
Follow the install instructions for [deoplete.nvim][]. Then just include with
20+
your favourite plugin manager, mine is [vim-plug][]
1621

1722
```vim
1823
Plug 'clojure-vim/async-clj-omni'
@@ -28,8 +33,19 @@ let g:deoplete#keyword_patterns.clojure = '[\w!$%&*+/:<=>?@\^_~\-\.#]*'
2833
As I improve them, they may be PR'd into deoplete.vim, but I'm not yet
2934
comfortable suggesting that change upstream.
3035

36+
### Nvim Completion Manager
37+
38+
1. Follow the install instructions for [ncm][].
39+
2. Add this plugin using your favourite plugin manager,
40+
```vim
41+
Plug 'clojure-vim/async-clj-omni'
42+
```
43+
44+
That's it. It should "just" work, whether you're using Acid or Fireplace.
45+
3146
## Developing
3247

48+
### Deoplete
3349
A few snippets and tidbits for development:
3450

3551
```vimscript
@@ -47,6 +63,12 @@ Debug statements can be made in the source via:
4763
self.debug(msg)
4864
```
4965

66+
### Nvim Completion Manager
67+
68+
```
69+
NVIM_PYTHON_LOG_FILE=logfile NVIM_PYTHON_LOG_LEVEL=DEBUG nvim
70+
```
71+
5072
## FAQ
5173

5274
1. Why do you include [nrepl-python-client][] via submodule.
@@ -61,3 +83,4 @@ self.debug(msg)
6183
[deoplete.nvim]: https://github.com/Shougo/deoplete.nvim
6284
[nrepl-python-client]: https://github.com/clojure-vim/nrepl-python-client
6385
[vim-plug]: https://github.com/junegunn/vim-plug
86+
[ncm]: https://github.com/roxma/nvim-completion-manager

0 commit comments

Comments
 (0)
Please sign in to comment.