Comments (19)
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.
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.
Installed those, still having issues. Here is my init.vim
: https://github.com/flyingfisch/dotfiles/blob/master/nvim/init.vim
from nyaovim.
Sorry for late response. I tried this.
Just after installing vim-airline, it worked.
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.
But when I specified :AirlineTheme base16_asches
, it worked. So I think there is some color-specific problem.
We need to investigate further.
from nyaovim.
Some themes work but some other themes don't work.
from nyaovim.
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.
vim-airline theme for gruvbox does not exist yet. What vim-airline theme are you using? (:AirlineTheme
tells you that.)
from nyaovim.
It says gruvbox
...
from nyaovim.
Ah, ok. Gruvbox has a bundled airline theme: https://github.com/morhetz/gruvbox#airline-theme
from nyaovim.
Oh, I see.
from nyaovim.
Note: it seems to fail to specify background color at status line at some colors
from nyaovim.
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.
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.
Just realized I forgot the -g
flag. I've got the latest version now.
from nyaovim.
I looked into more.
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.
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.
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.
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.
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)
- Strange redraw behaviour
- Uncaught TypeError: Cannot read property 'editor' of null
- clipboard: error invoking win32yank:
- scrolloff strange update behavior
- q key for command window or recording macros non-functional HOT 1
- can not binding <M-n> key in mac os.
- copy with mouse HOT 1
- yarn global add nyaovim not work HOT 2
- No argument possible HOT 1
- Cannot install in Ubuntu 16.04 HOT 5
- Installation error HOT 2
- NyaoVim always starts with two open buffers
- Not possible to paste on prompt with Ctrl+V or window menus HOT 1
- I cannot open a file directly from command line using NyaoVim HOT 2
- Colorful (subpixel) font rendering
- Would like a way to donate to this project?
- :autocmd FocusGained not working with nvim 0.3.8 HOT 1
- WSL2 support?
- How to change Font
- transparent 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 nyaovim.