Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add support for Neovim's native LSP semantic tokens #107

Closed
XXiaoA opened this issue Dec 27, 2022 · 2 comments · Fixed by #114
Closed

feature: Add support for Neovim's native LSP semantic tokens #107

XXiaoA opened this issue Dec 27, 2022 · 2 comments · Fixed by #114
Assignees

Comments

@XXiaoA
Copy link

XXiaoA commented Dec 27, 2022

Now nvim nightly support semantic token neovim/neovim#21100

References: sainnhe/gruvbox-material#162

@mvllow mvllow self-assigned this Jan 8, 2023
@mvllow
Copy link
Member

mvllow commented Jan 8, 2023

Is this different from #101?

@XXiaoA
Copy link
Author

XXiaoA commented Jan 9, 2023

Yeah OFC. There are some differences. Now if i use semantic token. My eyes are captured by the purple

VID_20230109_081816_147

This experience is really bad

@mvllow mvllow mentioned this issue Jan 9, 2023
4 tasks
@mvllow mvllow changed the title Add support for Neovim's native LSP semantic tokens feature: Add support for Neovim's native LSP semantic tokens Jan 13, 2023
mvllow added a commit that referenced this issue Feb 21, 2023
mvllow added a commit that referenced this issue Feb 22, 2023
* feat!: use new highlight api

* feat: support custom highlight blending

Example:

```
{
	highlight_groups = {
		StatusLine = { bg = 'love', blend = 10 }
	}
}
```

* refactor: move config into separate file

* wip: update semantic tokens

* ci: add issue templates

Thanks to https://github.com/folke/lazy.nvim for the inspiration!

* ci: fix template formatting

* chore: update editorconfig

* fix: decouple more backgrounds from floats

* change `@tag.attribute` to iris

* add cursor highlights

Closes #121

* match link underline colour

* improve `dim_nc_background` behaviour

ref #123

* feat: expose each variant as individual theme

ref #98

* feat: update tokens

ref #107

* feat: distinguish between `CmpItemKind`'s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants