You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[](https://waffle.io/SevereOverfl0w/async-clj-omni)
2
2
# clj-async.nvim
3
3
4
-
Provides async clojure completion through [deoplete.nvim][] and
4
+
Provides async clojure completion through [deoplete.nvim][]or [ncm][]and
5
5
[nrepl-python-client][].
6
6
7
7
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.
10
10
11
11
## Installation
12
12
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][]
16
21
17
22
```vim
18
23
Plug 'clojure-vim/async-clj-omni'
@@ -28,8 +33,19 @@ let g:deoplete#keyword_patterns.clojure = '[\w!$%&*+/:<=>?@\^_~\-\.#]*'
28
33
As I improve them, they may be PR'd into deoplete.vim, but I'm not yet
29
34
comfortable suggesting that change upstream.
30
35
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
+
31
46
## Developing
32
47
48
+
### Deoplete
33
49
A few snippets and tidbits for development:
34
50
35
51
```vimscript
@@ -47,6 +63,12 @@ Debug statements can be made in the source via:
0 commit comments