Git Product home page Git Product logo

Comments (19)

bpinto avatar bpinto commented on August 25, 2024

I've had a similar issue with airline a couple weeks ago, the solution was to update airline and add the new airline-theme repository.

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

I'll try that when I get home, thanks :)

On Wed, Mar 16, 2016, 7:05 PM Bruno [email protected] wrote:

I've had a similar issue with airline a couple weeks ago, the solution was
to update airline and add the new airline-theme repository.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#33 (comment)

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

Installed those, still having issues. Here is my init.vim: https://github.com/flyingfisch/dotfiles/blob/master/nvim/init.vim

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

Sorry for late response. I tried this.

Just after installing vim-airline, it worked.

2016-03-17 10 51 54

Then I installed vim-airline-theme. I'm using lucius color scheme. So I think lucius theme was detected by vim-airline-theme.
After restarting NyaoVim, this issue was reproduced.

2016-03-17 10 56 07

But when I specified :AirlineTheme base16_asches, it worked. So I think there is some color-specific problem.

2016-03-17 10 57 24

We need to investigate further.

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

Some themes work but some other themes don't work.

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

I'm using gruvbox, in case that helps.

On Wed, Mar 16, 2016, 10:07 PM Linda_pp [email protected] wrote:

Some themes work but some other themes don't work.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#33 (comment)

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

vim-airline theme for gruvbox does not exist yet. What vim-airline theme are you using? (:AirlineTheme tells you that.)

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

It says gruvbox...

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

Ah, ok. Gruvbox has a bundled airline theme: https://github.com/morhetz/gruvbox#airline-theme

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

Oh, I see.

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

Note: it seems to fail to specify background color at status line at some colors

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

OK, just got it working. You have to make sure true color mode is enabled in your init.vim. Maybe true color mode should be enabled by default in nyaovim?

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

Also, on a side note, how do I install the newest version of nyaovim? I have tried npm install nyaovim but I still have the hollow cursor instead of the new inverted one.

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

Just realized I forgot the -g flag. I've got the latest version now.

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

I looked into more.

2016-04-23 15 14 24

Here, the NORMAL is a text in status line with 'lucius' theme with vim-airline.
Neovim sends 'change fg/bg color' event and then sends 'render text' event. As described in above log, the 'change fg/bg color' event indicates #d7d7d7 as foreground color and #303030 as background color. Neovim looks sending wrong fg/bg colors for status line.

from nyaovim.

jordwalke avatar jordwalke commented on August 25, 2024

This could be related to this: vim-airline/vim-airline#1244

I believe that's an issue with airline and any of the latest vim builds (neovim, vim)

from nyaovim.

rhysd avatar rhysd commented on August 25, 2024

Thank you for the information.

There is one more color-related issue in NyaoVim: #71

It seems that Neovim lacks some color names: Issue. When the color is specified by the lacked color names, it may not reflect to UI.

from nyaovim.

flyingfisch avatar flyingfisch commented on August 25, 2024

Wow, I didn't realize I forgot to reply to this issue. I fixed it, for me at least, by adding the following to my init.vim:

let $NVIM_TUI_ENABLE_TRUE_COLOR=1

Really sorry for not updating the thread, I got busy with other things and completely forgot. @rhysd should I close this?

from nyaovim.

coddingtonbear avatar coddingtonbear commented on August 25, 2024

I, too, encountered this problem and solved it by adding --

set termguicolors

to my ~/.config/nvim/init.vim.

Also note that if you're seeing > rather than , you're probably missing this setting there, too:

let g:airline_powerline_fonts = 1

g:airline_powerline_fonts is what tells Airline to swap the > symbols with (among other symbols); if you're using a Powerline-compatible font, the symbols are prettier.

from nyaovim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.