Comments (13)
Here's the out-of-the-box lualine appearance with this theme. This is with theme = auto. The yellow is impossible to read.
Yes, sometimes "auto" doesn't work nicely :)
I tried setting airline's theme to "ayu" to see if that would fix it, but then I get an error:
That's weird, will fix this evening, thanks. My lualine just fully customized, I don't use a theme for it.
from neovim-ayu.
I think I figured it out, and it's something specific to my setup.
I use dark-notify to change back and forth for night mode. To err on the "don't blind me" side, I default to the dark theme, and shortly after boot the colors change to light. That means that the ayu theme is probably not set until after load. And after load, setting the lualine theme to ayu correctly loads the neovim-ayu lualine theme.
The fix was actually to implement what I was waiting for the fix before I did: add lualine theme switching to my dark-notify config. Now it loads after the ayu theme has been set, so the theme is accessible and no error happens.
Thanks for your help here. I'm migrated to lualine and, while it's still not quite as good as airline, it's probably good enough :)
from neovim-ayu.
I'd be open to trying to do this myself with a little guidance.
from neovim-ayu.
Why do you use airline in the first place? Check lualine.nvim. It much faster and we already have a theme for it.
from neovim-ayu.
I'm waiting for one of the several neovim statusline libraries to mature, including a good out of the box experience. I don't want to waste hours configuring a minor part of my editor.
Currently:
- Airline is stable and doesn't require my time to set up or maintain.
- lualine doesn't look good out of the box. (Airline does)
- There's already an airline theme for both my light theme (ayu) and dark theme (sonokai). There is no lualine theme for sonokai.
- Airline has easy-to-use extensions that don't require configuration. In one line, I get integrations with fugitive, gutentags, and more. It's not even clear if these are possible with lualine, nevermind an easy way to set it up.
from neovim-ayu.
Maybe you checked it a long time ago? As a Lualine user, I can say that it is pretty stable right now, looks great out of the box, very easy to set up (but also very extensible!) and has an βautoβ theme option to automatically match your color scheme even if the theme is missing. But I understand that you may not want to migrate.
I would suggest you to stick with ayu-vim for now that have a theme for airline.
from neovim-ayu.
Sure, I'll give it another shot :)
Here's the out-of-the-box lualine appearance with this theme. This is with theme = auto. The yellow is impossible to read.
I tried setting airline's theme to "ayu" to see if that would fix it, but then I get an error:
(Let me know if you want me to file a separate issue for this :) )
from neovim-ayu.
I tried setting airline's theme to "ayu" to see if that would fix it, but then I get an error:
I can't reproduce this error on my side. Could you provide your configuration?
from neovim-ayu.
https://github.com/bmulholland/dotfiles/blob/ayu-error/neovim/lua/plugins/lualine.lua
from neovim-ayu.
Can't reproduce. Are you sure you are using this fork?
from neovim-ayu.
Yep: https://github.com/bmulholland/dotfiles/blob/ayu-error/neovim/lua/settings/plugins.lua#L90
from neovim-ayu.
Weird, still can't reproduce it. I think that the issue is somewhere in your configuration (maybe just not in lualine configuration). Could you provide a complete minimal configuration to trigger the issue?
from neovim-ayu.
Glad the problem has been resolved!
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
- Support semantic tokens explicitly HOT 10
- 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
- Some elements in Tmux got background HOT 1
- 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.