Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
594 stars 103 forks source link

[Feature Request]: lsp semantic highlight #47

Closed I-Want-ToBelieve closed 1 year ago

I-Want-ToBelieve commented 1 year ago

https://github.com/theHamsta/nvim-semantic-tokens

MangoIV commented 1 year ago

What happened here? Is this supported now?

MariaSolOs commented 1 year ago

@MangoIV yeah, the highlights are here.

MangoIV commented 1 year ago

Thank you. Are these all there are or might there be some missing? I’m currently trying to get semantic highlighting for lean4 but have some issues.

MariaSolOs commented 1 year ago

Thank you. Are these all there are or might there be some missing? I’m currently trying to get semantic highlighting for lean4 but have some issues.

What kind of issues? I'm getting highlights for Rust, Lua, TypeScript... This sounds like a server issue, nothing to do with the colorscheme.

MangoIV commented 1 year ago

Aight okay. The issue is other Color schemes get the highlighting… Idk I’ll invest further and let you know. It’s good to know that it shouldn’t be Dracula. Thanks.

MariaSolOs commented 1 year ago

@MangoIV You can use :Inspect to make sure that the semantic highlights are being applied. You should see a "Semantic Tokens" section.

Here's an example from lua_ls:

image