Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Highlighting group for virtual methods (clangd) #60

Open
tom-anders opened this issue Apr 8, 2021 · 2 comments
Open

Highlighting group for virtual methods (clangd) #60

tom-anders opened this issue Apr 8, 2021 · 2 comments

Comments

@tom-anders
Copy link

I know this feature from QtCreator where the is a separate highlight group for virtual methods. Since AFAIK QtCreator uses clangd for semantic highlighting, would this also be possible with vim-lsp-cxx-highlight when using clangd?

@jackguo380
Copy link
Owner

Hi tom-anders,

I would like to support it, but looking into the data provided by clangd, I don't see anything that differentiates a regular method from a virtual one. So currently there would be no way to implement this.

I'll leave this open for now incase I find more info.

@tom-anders
Copy link
Author

Looks like it was added in llvm/llvm-project@159a269#diff-4dd31d5b67755887cd20bfeb19b44366280a85979fe6d559cc61ea82b639d117

but probably only for the new semanticTokens lsp feature which this plugin doesn’t support, right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants