hey, guys. I have a question when using clojure-lsp
as language server.
when typing code like (f x)
, I found the company-mode
wouldn't work, but if I type f
, company-mode
would work.
what the hell ???
@steiner3044 are you familiar with tools/plugins that will automatically close your parents/brackets for you? That might help keep your code parsable for completion suggestions
nope, the configure are all on the image I uploaded
@steiner3044 check out https://thoughtbot.com/blog/writing-clojure-in-vim which includes some helpful context around editing lisp/clojure code. One useful tool is to install Paredit (or a similar tool) which will help you keep balanced parentheses while adding, editing and deleting code
Hi @steiner3044 we ATM have a issue that we can't complete the code if it's not parseable (a valid clojure code), I'm trying to fix that and I opened this issue recently: https://github.com/clj-commons/rewrite-clj/issues/87
wow, thank you for your work, I will watch this:slightly_smiling_face:
Thanks 😄
So I guess this explains an issue I had in my notes with clojure-lsp completions, (that the first time I type something like foo/
I don't see suggestions, but if I backspace the slash and type it again I do)
Something like that at least
yep, that's something I'd love to fix 😅