Fork me on GitHub
#vim
<
2019-09-13
>
dharrigan13:09:32

I'm using deoplete, but when I go to try and complete a namespace function, i.e., "foo/bar" and I type in "foo/" and try to complete, I get a filesystem listing.

dharrigan13:09:47

I probably (most likely!) have my vim deoplete setup incorrect

dharrigan13:09:54

anyone have experience of this?

dominicm13:09:45

Only when it happens to match the fs?

dharrigan13:09:50

well "/" will match root

dharrigan13:09:34

when I type in "/", that is what happens

dharrigan13:09:01

okay, so if I have this, call deoplete#custom#option('keyword_patterns', {'clojure': '[\w!$%&*+/:<=>?@\^_~\-\.#]*'}) it doesn't work, i.e., I get the filesystem menu

dharrigan13:09:43

If I have this let g:deoplete#keyword_patterns.clojure = '[\w!$%&*+/:<=>?@\^_~\-\.#]*' it works

dominicm14:09:28

one is probably older syntax 😄

dominicm14:09:34

tbh, that should probably be merged up to deoplete

dominicm14:09:40

I'm pretty sure I've got everything in there now