LSP icon indicating copy to clipboard operation
LSP copied to clipboard

revert limiting semantic highlight to one session

Open rchl opened this issue 1 month ago • 2 comments

Revert semantic-highlighting specific part of #2688 since it breaks highlighting in Vue files.

rchl avatar Dec 08 '25 21:12 rchl

If multiple sessions for semantic highlighting should really be allowed, then the show scope name command should probably check all self.sessions(self.capability) until it finds one that provides a semantic token for the given point, instead of using only one session in https://github.com/sublimelsp/LSP/blob/9bfb68da38cbb71fa932924536395f1f8c3f676a/plugin/semantic_highlighting.py#L61

jwortmann avatar Dec 09 '25 11:12 jwortmann

I've changed it to show tokens from all servers:

Screenshot 2025-12-09 at 14 58 21

rchl avatar Dec 09 '25 13:12 rchl