emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

Changing semantic token face category of specific tokens? #738

Closed daedsidog closed 1 year ago

daedsidog commented 1 year ago

I'm using lsp-semantic-tokens-mode. I have the following class:

image

I want to have class function colors colored using lsp-face-semhl-function, yet when I describe-face the gray colored append function on line 86, it says:

image

I'm not sure why it does't use lsp-face-semhl-function or lsp-face-semhl-method I have defined in the theme:

image

How can I change this behavior so that the tokens use the face I want? I am also not sure why the polycurve on line 84 uses lsp-face-semhl-interface while the subsequent ones use lsp-face-semhl-class...

daedsidog commented 1 year ago

Wrong repository.