Comments (10)
Just to add a bit of clarifications since my last message. neovim/neovim#22022 has now been merged and brings some changes to semantic token highlighting.
A good overview of how it works by the PR author can be found here: https://gist.github.com/swarn/fb37d9eefe1bc616c2a7e476c0bc0316
Here is a current screenshot of ayu-mirage on typescript:
And here is the difference if a theme supports semantic tokens (tokyonight):
Currently I only know of https://github.com/folke/tokyonight.nvim and https://github.com/rebelot/kanagawa.nvim having implemented it since PR, they could serve perhaps as inspiration.
Unfortunately, I am quite busy myself at the moment, but perhaps this information might help if someone wants to give it a try.
from neovim-ayu.
My personal preference is to try to follow colors from VSCode: https://github.com/ayu-theme/vscode-ayu
from neovim-ayu.
Thanks for the quick update @Shatur, is there any chance to have differentiating colors for parameters?
You can configure it on your side, see https://github.com/Shatur/neovim-ayu#overrides-examples. Or feel free to open a PR if you think that it's a nice default. I will use your branch for some time and merge if it or tweak colors.
from neovim-ayu.
Hi! I don't use nightly, but you can submit a PR with the suggestions. If you do, please provide screenshots :)
from neovim-ayu.
0.9 is now released with this feature, I have to disable it because the theme looks weird when it's enabled, any plans to work on this?
from neovim-ayu.
Didn't know about the release. I will update and take a look, thanks.
from neovim-ayu.
Thanks for the quick update @Shatur, is there any chance to have differentiating colors for parameters?
For example, instead of
and
It could look something like:
and
Obviously I just picked a random color there, but any that fits your taste would be fine. I just think that being able to differentiate between parameters and regular variables within a function can be nice.
from neovim-ayu.
yes, I actually had a plugin specifically for that https://github.com/m-demare/hlargs.nvim
I believe it's possible now with new features?
from neovim-ayu.
Yes, Neovim now supports it out of the box using LSP. Suggest colors, I will be happy to merge. See the last commit for what you need to change.
from neovim-ayu.
Created a PR for parameters with a different color: #30
from neovim-ayu.
Related Issues (20)
- Remove tilde signs HOT 2
- Visual mode highlighted text in dark theme HOT 1
- Cross-post: invisible cursor while using lightspeed or leap HOT 6
- Treesitter removed TS* highlight groups HOT 2
- Numbers are not colored HOT 1
- W18: Invalid character in group name HOT 5
- No highlighting tags groups (treesietter groups) HOT 3
- nvim: ayu mirage: invalid argument HOT 1
- Override does not change colors as expected HOT 2
- CursorLine not applying to texts HOT 7
- Normal background removal causes problems HOT 2
- Feature-request: transparent bg option HOT 1
- Better markdown support HOT 1
- How to make background color of the editor window black? HOT 3
- Feature request: dim inactive windows HOT 1
- Add highlight for WinSeparator HOT 3
- Add support for `nvim-treesitter-context` HOT 1
- Add buffer picking colors in barbar HOT 2
- lualine example in README.MD HOT 1
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 neovim-ayu.