Fork me on GitHub
#emacs
<
2020-03-13
>
caio17:03:00

anyone using lsp-clojure + cider + company?

3
dpsutton18:03:49

I am. Although I restrict auto complete to just cider

caio18:03:10

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

caio18:03:44

I thought it was some crazy thing with cider + lsp, but apparently it does that when cider is not active

caio18:03:26

it only appends a c when the symbol I'm completing to starts with a c lol

caio18:03:32

comp becomes ccomp, but apply becomes apply ¯\(ツ)

dpsutton18:03:55

Extremely weird

caio19:03:58

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 🎉

ericdallo21:03:07

I have this issue too @caio!

ag21:03:21

@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.

caio22:03:04

No. I use the standard company pop up, sry

ag22:03:39

this works from the standard company pop-up. Check company-active-map

caio01:03:36

I have neither