Skip to content

Feature Request: Support for Semantic Tokens / Semantic Highlighting #288

Description

@AgustinOrdonez

Hello,

First of all, thank you for maintaining asm-lsp.

I noticed that asm-lsp currently does not advertise the semanticTokensProvider capability during LSP initialization, which means editors cannot take advantage of semantic highlighting.

For example, in Neovim, the server capabilities currently look roughly like:

{
  completionProvider = ...,
  definitionProvider = true,
  diagnosticProvider = ...,
  documentSymbolProvider = true,
  hoverProvider = true,
  referencesProvider = true,
  signatureHelpProvider = ...,
  textDocumentSync = ...
}

but there is no:

semanticTokensProvider = {
  ...
}

Is support for the LSP Semantic Tokens protocol planned? If not, would you consider adding it?

I think this would significantly improve the editing experience.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions