Fork me on GitHub
#lsp
<
2023-10-02
>
Per Nissilä08:10:08

Hi! I have a problem with autocompletions in lsp-mode. I don't get any 😄 lsp-enable-completion-at-point is set to t. for example if i type <imported namespace>/ i don't get a list of symbols from that namespace. Update: it works if i disable and re-enable lsp-completion-mode for some reason

ericdallo10:10:15

Maybe lsp-completion-mode is not being enabled properly when you open a buffer? Maybe try with lsp-start-plain + https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/#basic-configuration

mpenet11:10:22

Could be cider high jacking the completin fn after jack-in ?

Per Nissilä11:10:48

@U050SC7SV yes, that seems to be the problem. It works before i do jack-in

Per Nissilä11:10:34

No idea how to fix it 😄

mpenet11:10:21

You can choose to disable cider for completion, removing it from completion functions. I don’t this on my config

mpenet11:10:22

(add-hook 'cider-mode-hook (lambda () (remove-hook 'completion-at-point-functions #'cider-complete-at-point t)))