Giter Site home page Giter Site logo

Weird background about tokyonight-vim HOT 11 CLOSED

ghifarit53 avatar ghifarit53 commented on June 2, 2024
Weird background

from tokyonight-vim.

Comments (11)

benjamingarcia avatar benjamingarcia commented on June 2, 2024 2

Hello!
Well, I found how fix this issues thanks to another theme (https://github.com/joshdick/onedark.vim).
It's an issues with italic encoding I suppose.
I follow this solution, and now it's fixed.
And before this I update tmux.conf thanks to this articles
on alacritty, I set Term as TERM: xterm-256color

and finally, on vim :

set termguicolors
set t_Co=256

@Hamptonjc @pavelshtanko

from tokyonight-vim.

ghifarit53 avatar ghifarit53 commented on June 2, 2024

That's odd. Could you post your .vimrc or init.vim so I can reproduce it?

And thanks for the compliment! all credits goes to @ enkia (the original author of the colorscheme)

from tokyonight-vim.

pavelshtanko avatar pavelshtanko commented on June 2, 2024

https://gist.github.com/pavelshtanko/fe2d37f72d91f7923b074cfab717a362

a bit messy but that's it

from tokyonight-vim.

ghifarit53 avatar ghifarit53 commented on June 2, 2024

What's the terminal emulator you're currently using and would you mind trying other terminal to see if the problem persist?

from tokyonight-vim.

pavelshtanko avatar pavelshtanko commented on June 2, 2024

iterm2, I'll try alacritty now

from tokyonight-vim.

pavelshtanko avatar pavelshtanko commented on June 2, 2024

same in alacritty

from tokyonight-vim.

ghifarit53 avatar ghifarit53 commented on June 2, 2024

Seems like the problem lies in the .vimrc

from tokyonight-vim.

ghifarit53 avatar ghifarit53 commented on June 2, 2024

Sorry, I can't seem to reproduce the issue
image
Just my guess, but maybe you happen to have other .vim files that override settings in vimrc (maybe in autoload or after folder in ~/.vim). Also did the issue happen just recently?

from tokyonight-vim.

Hamptonjc avatar Hamptonjc commented on June 2, 2024

Same issue here. Any solution @pavelshtanko ?

from tokyonight-vim.

benjamingarcia avatar benjamingarcia commented on June 2, 2024

Hello, I have the same issue: Theme works on macvim, but not on vim or neovim in a terminal (I tested with alacritty, iterm2 and terminal)

from tokyonight-vim.

pavelshtanko avatar pavelshtanko commented on June 2, 2024

Hello!
Well, I found how fix this issues thanks to another theme (https://github.com/joshdick/onedark.vim).
It's an issues with italic encoding I suppose.
I follow this solution, and now it's fixed.
And before this I update tmux.conf thanks to this articles
on alacritty, I set Term as TERM: xterm-256color

and finally, on vim :

set termguicolors
set t_Co=256

@Hamptonjc @pavelshtanko

It works! Indeed at first I didn't follow the link with solution, but now it's totally fine.

Thanks for your helP!

from tokyonight-vim.

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.