When opening a typescript file in a big typescript project the LSP will error and say textDocument/documentHighlight is not supported. I am not exactly sure if this has anything to do with typescript specifically but this is just what I have tested on.
Steps to reproduce
Find a big typescript project
Open treemacs
Open a file in the big typescript project
LSP should ask you if you want to watch all of these files -- in my case it was 1326 directories
The error will pop up about not supporting textDocument/documentHighlight
Expected behavior
If something is not supported by the LSP then it should stay silent about it, I would assume
Which Language Server did you use?
Whatever typescript server is available in lsp-plain-start.el
Thank you for the bug report
lsp-mode
related packages.where
lsp-start-plain.el
can be downloaded here.Bug description
When opening a typescript file in a big typescript project the LSP will error and say
textDocument/documentHighlight
is not supported. I am not exactly sure if this has anything to do with typescript specifically but this is just what I have tested on.Steps to reproduce
textDocument/documentHighlight
Expected behavior
If something is not supported by the LSP then it should stay silent about it, I would assume
Which Language Server did you use?
Whatever typescript server is available in
lsp-plain-start.el
OS
Linux
Error callstack
Anything else?
No response