Fork me on GitHub
#lsp
<
2021-07-27
>
dharrigan20:07:40

Any reports of callHierarchy/incoming (and outgoing) working with vim?

dharrigan20:07:02

(basically I would like to know if it can be shown 🙂 )

walterl20:07:22

IIRC I saw a coc.nvim issue that described exactly that – a tree view UI – as the biggest obstacle to supporting such functions

dharrigan20:07:27

Been moved to high priority 4 days ago, so should be coming soon (I hope!)

walterl20:07:29

> Sure, we will add support for call hierarchies, we need create a module for tree view at first. Yup. I think that's the one 😁

ericdallo20:07:52

Cool, I fixed a bug on outgoing call hierarchy that will be available on next release

walterl20:07:05

I think I went looking for coc.nvim support precisely because of the callHierarchy announcement made here 😅

dharrigan20:07:13

sweet, well, don't want to hijack this channel about vim stuff 🙂 I'll monitor the bug 🙂

ericdallo20:07:17

IMO is a really cool feature that most people don't know

walterl20:07:58

It was certainly new to me... which is why I wanted to check if it was usable in coc.nvim 😛

ericdallo20:07:40

in emacs is only possible ATM using treemacs which is just like a neotree

dharrigan20:07:26

YOu know semantic highlighting, it should work ootb, right? (it's on by default for coc)

ericdallo20:07:16

yes, it's on by default on clojure-lsp but not on emacs, but it works great IMO

ericdallo20:07:32

It's on my backlog fix some specific edge cases, but it works good

dharrigan20:07:12

I could have sworn it was working, now it's not. Trying to figure out why (I deleted the sqlite.db to start afresh)

ericdallo20:07:04

I use it all the time, LMK if any issues with that

dharrigan20:07:15

It should colourise, for example, the namespace alias, i.e., c/foo the c should show as a different colour?

ericdallo20:07:33

yes, it should

dharrigan20:07:39

Yeah, not seeing that

dharrigan20:07:47

I do get 2021-07-27T20:43:14.451Z daffy DEBUG [clojure-lsp.server:?] - :semanticTokensFull 5ms

ericdallo20:07:00

It should show something like:

ericdallo20:07:12

we need the server log return

ericdallo20:07:15

of that request

dharrigan20:07:18

Yeah, that's what I thought. It was showing

walterl20:07:15

I'm not seeing that either, and don't think I ever have. Is this related to treesitter?

ericdallo21:07:06

I don't know how it works for vim 😕

ericdallo21:07:20

but @U11EL3P9U will investigate further more tomorrow and provide a minimal code

ericdallo21:07:29

where we can understand why isn't working on vim side

👍 2