anyone using lsp-clojure + cider + company?
I am. Although I restrict auto complete to just cider
hmm, ok. I'm trying to use both, but for some reason lsp-mode
completion is doing something funny and prepends a c
on anything it autocompletes
I thought it was some crazy thing with cider + lsp, but apparently it does that when cider is not active
it only appends a c
when the symbol I'm completing to starts with a c
lol
comp
becomes ccomp
, but apply
becomes apply
¯\(ツ)/¯
Extremely weird
I traced it back to this triggerCharacters
list. it's a character list that triggers an autocomplete but shouldn't be used in the result, like .
in javascript. I think I fixed it: https://github.com/snoe/clojure-lsp/pull/117 🎉
I have this issue too @caio!
I forwarded it to #lsp https://clojurians.slack.com/archives/CPABC1H61/p1584136141005900
@caio have you tried switching to ivy/helm at the completion? i.e.: you start typing something - it pops up company popup. Press C-/
. If you check company-active-map
it should be bound to counsel-company
(if you’re using Ivy) and helm-company
(if you’re using Helm). Then you can search for candidates, select one, press “RET”. Is that working okay for you? Asking, because I sometimes have issues with it.
No. I use the standard company pop up, sry
this works from the standard company pop-up. Check company-active-map