folke / tokyonight.nvim

🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
Apache License 2.0
6.39k stars 430 forks source link

Color Theme of buffer in a split is treated the same as the side bar. #80

Closed ayushsherpa111 closed 4 months ago

ayushsherpa111 commented 3 years ago

image The buffer on the left chip8.c when opened in a vertical split is treated the same as the side bar. No number line and the background color is also the same as the side bar.

Note: The Number line on the side bar is only visible because I sourced the vimrc.

folke commented 3 years ago

How did you open that file? Is that NvimTree? I assume its inheriting the NvimTree settings, so that would be an issue for NvimTree

ayushsherpa111 commented 3 years ago

I tried with a couple different things. With fzf as well as nvimtree.

folke commented 3 years ago

I'm not able to reproduce this. Can you tell me the exact steps you do to get this result?

Step by step. open file... open nvim tree, what is your current window/buffer, where do you open the file, etc

ayushsherpa111 commented 3 years ago

Step 1: have a file open and from nvim-tree open any file in a vertical split <C-v> Step 2: move focus to the buffer that was opened in the vertical split. Step 3: In the vertical split that you just opened go to the previous buffer. If you only have 2 files open this should be the same file as the one that you started with

And this file should have the same colorscheme applied as the nvim-tree buffer.

folke commented 3 years ago

Step0 image

Step1 image

Still can't reproduce it?

saiprasadhakki commented 1 year ago

I too have something similar, Please try :help , the new buffer uses the default tokyonight theme

kirill-martynov commented 1 year ago

Same thing started happening with me I'm opening file as vsplit from nvimtree(ctrl+v)

https://github.com/folke/tokyonight.nvim/assets/70448489/7b4c8f1c-fa03-4648-8230-d4f306cae90c