9fans / acme-lsp

Language Server Protocol tools for the acme text editor
MIT License
197 stars 25 forks source link

Also support single location in Implementation/TypeDefinition/Definition response #45

Closed tw4452852 closed 3 years ago

tw4452852 commented 3 years ago

According to the LSP 3.16 spec, in following responses, both Location and []Location are allowed:

BTW, I encountered this issue when using Zig's language server (zls).

Signed-off-by: Tw wei.tan@intel.com