Ivan Yonchovski
Ivan Yonchovski
I think that the issue here is caused by the spaces that clangd is putting in the completion items. CC @sam-mccall But overall, there are cases in which company-completion-common might...
Thank you @sam-mccall , apparently this is fixing the issue. I suggest disabling the decorations by default. Alternatively, we might document that if you want to use complany-complete-common function you...
@dgutov > > unless company-mode delegates the completion of the common prefix to lsp-mode > > If there's significant demand, we can consider it, but for now I'm kind of...
> That should fix it indeed. But with the recently merged change, it might be less urgent to implement than before. Agree. It will be non-trivial to implement on lsp-mode...
Can you elaborate on 1). For 2) we don't support prefix match ATM. It shouldn't be that hard to be added.
> Is some form of this something that might be incorporated as an option in lsp-mode itself? Yes, we just have to determine what is the most appropriate point to...
> I discovered that I can get this behavior by providing always the same value `/p/dummy-workspace` as project root to the interactive question from `lsp--find-root-interactively`. But this question pops up...
We use the nearest project root if it is already added. If you want to associate files outside of project root with a particular workspace, then there is `:library-folders-fn` when...
@witek we should add setting like we do here: https://github.com/yyoncho/lsp-mode/blob/master/clients/lsp-pylsp.el#L426
the setting can be exposed for all servers. The different servers might have different logic regarding the outside of root files.