tokyonight.nvim icon indicating copy to clipboard operation
tokyonight.nvim copied to clipboard

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

Open ayushsherpa111 opened this issue 4 years ago • 7 comments

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.

ayushsherpa111 avatar Jul 17 '21 10:07 ayushsherpa111

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

folke avatar Jul 20 '21 07:07 folke

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

ayushsherpa111 avatar Jul 20 '21 07:07 ayushsherpa111

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

folke avatar Jul 20 '21 07:07 folke

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.

ayushsherpa111 avatar Jul 24 '21 05:07 ayushsherpa111

Step0 image

Step1 image

Still can't reproduce it?

folke avatar Aug 05 '21 07:08 folke

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

saiprasadhakki avatar Jun 10 '23 15:06 saiprasadhakki

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

kirill-martynov avatar Jun 17 '23 14:06 kirill-martynov