nvim icon indicating copy to clipboard operation
nvim copied to clipboard

Map @lsp.mod.readonly to constant

Open tkrause opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Highlighting does not work for some LSPs with constants when semantic tokens are enabled. This is due to a missing @lsp.mod.readonly mapping and can be seen with gopls and likely others.

Describe the solution you'd like Add support for ["@lsp.mod.readonly"] = { link = "Constant" }

Describe alternatives you've considered I'm using the above in my custom_overrides which solves my issue but it would be nice if this was just built-in.

tkrause avatar Feb 17 '24 00:02 tkrause