Comments (4)
Okay sorry for the delay, I've decided to revert these changes since I guess it's okay that the two aren't perfectly consistent and there are other ways to fix the semantic token highlighting.
from onenord.nvim.
Hi, sorry about that, I was trying to make it more consistent with treesitter for example when namespacing a function. In Rust the base syntax Include
is also used for both the imports and uses vs treesitter using @namespace
and @struct
.
Base syntax before change:
Base syntax after change:
Treesitter highlight:
You can always change custom highlights doing the following:
local colors = require("onenord.colors").load()
require("onenord").setup({
custom_highlights = {
Include = { fg = colors.blue },
},
})
This one just changes the namespaces but feel free to customize anything else to your liking 😄
from onenord.nvim.
This issue seems to need to be re-open as I see some new issues on some code highlight cc @rmehri01
from onenord.nvim.
Hi, did you upgrade to neovim 0.9 recently? If so, this is probably due to LSP semantic tokens. You can check it out under :h lsp-semantic-highlight
or disable it using something like client.server_capabilities.semanticTokensProvider = nil
in your on_attach
.
from onenord.nvim.
Related Issues (20)
- [feature request: inverse matches HOT 3
- feature request: inverse matches HOT 1
- Highlights overriding not working HOT 3
- HTML custom elements HOT 5
- Support for nvim-navic HOT 2
- Colors too dark for it be "Nord" themed in Nvim HOT 6
- FR: setup option to use default nord palette HOT 3
- Incorrect colors in Gnome Terminal (and derivates) HOT 15
- Getting wrong colors with Alacritty HOT 5
- Fix highlight group links for Neovim 0.8 HOT 10
- Highlight colors are different after updating highlight groups to nvim-0.8 HOT 3
- colors/onenord.vim missing HOT 6
- Update Docs! HOT 1
- Missing hl groups for Lsp Saga HOT 3
- Add semantic highlights support HOT 3
- Missing distinction for rust format! named parameters. HOT 3
- Colorscheme light/dark HOT 10
- Add inlay hints support HOT 3
- Xcode support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onenord.nvim.