We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2987d31 commit 368d52fCopy full SHA for 368d52f
README.md
@@ -72,7 +72,6 @@ au User asyncomplete_setup call asyncomplete#register_source({
72
}
73
})
74
```
75
-3. Add `call async_clj_omni#cmp#register()` somewhere in your init.vim.
76
77
## Developing
78
plugin/cmp_fireplace.vim
@@ -1,5 +1,4 @@
1
-" cmp isn't guaranteed to be loaded before this file runs, which is why we
2
-" leave the option to manually register.
3
-if exists('*cmp#register_source')
4
- call async_clj_omni#cmp#register()
5
-endif
+augroup async_clj_omni_plugins
+ autocmd!
+ autocmd User cmp#ready call async_clj_omni#cmp#register()
+augroup END
0 commit comments