Comments (10)
events = { "WinEnter", "BufEnter", "WinResized", "WinClosed", "VimResized", "SessionLoadPost" },
from colorful-winsep.nvim.
Thank you for your input, but I'm not certain what to do with that. I changed event = { "WinNew"},
to events = { "WinEnter", "BufEnter", "WinResized", "WinClosed", "VimResized", "SessionLoadPost" },
as well as events = { "WinEnter", "SessionLoadPost",},
but the divider still appears in the same spot, only now it is normal fg color instead of the hl I set in the config. I tried these lines with and without the s
on the end of event
and I also tried removing the line entirely.
from colorful-winsep.nvim.
Thank you for your input, but I'm not certain what to do with that. I changed
event = { "WinNew"},
toevents = { "WinEnter", "BufEnter", "WinResized", "WinClosed", "VimResized", "SessionLoadPost" },
as well asevents = { "WinEnter", "SessionLoadPost",},
but the divider still appears in the same spot, only now it is normal fg color instead of the hl I set in the config. I tried these lines with and without thes
on the end ofevent
and I also tried removing the line entirely.
https://github.com/denstiny/dotfiles/blob/eb1216edd268dbc85f9d8597a89c97b67dea36c0/nvim/lua/plugin/ui/init.lua#L51-L59
this is my config.
from colorful-winsep.nvim.
Don't forget to check out my require"plugin.ui.winsep" content
from colorful-winsep.nvim.
I have been experiencing the same issue, although I can trigger the problem without using sessions. Anytime I run :NvimTreeToggle
, :NvimTreeFindFile
, or :NvimTreeToggle
it happens. I tried all of the event configs mentioned above but it had no effect.
from colorful-winsep.nvim.
I have been experiencing the same issue, although I can trigger the problem without using sessions. Anytime I run
:NvimTreeToggle
,:NvimTreeFindFile
, or:NvimTreeToggle
it happens. I tried all of the event configs mentioned above but it had no effect.
Can you please provide the minimum reproducible configuration and reproduction steps?
from colorful-winsep.nvim.
@denstiny I figured out it. Removing NvimTree
from the no_exec_files
array fixed it. Maybe I don't have the same issue here and I apologize. Let me know if you want me to open a new issue and I can copy this over.
Steps to duplicate:
- use mini.vim
:e file1
:vsp
:NvimTreeToggle
mini.vim
set nocompatible filetype plugin indent on syntax on set hiddencall plug#begin('~/.config/nvim/plugged')
Plug 'nvim-zh/colorful-winsep.nvim'
Plug 'kyazdani42/nvim-tree.lua'
call plug#end()
lua << EOF
require("colorful-winsep").setup({
no_exec_files = { "NvimTree" },
-- either one of these events arrays causes the issue
-- events = { "VimResume", "WinEnter", "BufEnter", "WinResized", "WinClosed", "VimResized", "SessionLoadPost" },
event = { "WinNew" },
})
require('nvim-tree').setup { }
EOF
from colorful-winsep.nvim.
@denstiny I figured out it. Removing
NvimTree
from theno_exec_files
array fixed it. Maybe I don't have the same issue here and I apologize. Let me know if you want me to open a new issue and I can copy this over.Steps to duplicate:
* use mini.vim * `:e file1` * `:vsp` * `:NvimTreeToggle`
mini.vim
set nocompatible filetype plugin indent on syntax on set hiddencall plug#begin('~/.config/nvim/plugged')
Plug 'nvim-zh/colorful-winsep.nvim' Plug 'kyazdani42/nvim-tree.lua'
call plug#end()
lua << EOF
require("colorful-winsep").setup({ no_exec_files = { "NvimTree" }, -- either one of these events arrays causes the issue -- events = { "VimResume", "WinEnter", "BufEnter", "WinResized", "WinClosed", "VimResized", "SessionLoadPost" }, event = { "WinNew" }, })
require('nvim-tree').setup { }
EOF
Well, this is because after opening the window for nvim-tree, there are other behaviors that exist. The no_exec_files option can fix this. Since I personally use nvim-tree as well as Session, I am quite confused about this issue and have been unable to reproduce the problem
from colorful-winsep.nvim.
@timtyrrell Furthermore, for the lazy-loading of this plugin, I believe you should use the WinLeave event rather than the WinNew event.
from colorful-winsep.nvim.
2024-06-05_00-50-44.mp4
from colorful-winsep.nvim.
Related Issues (20)
- Indistinguishable highlighting on two vertical/horizontal splits HOT 2
- Error when start: attempt to call field 'nvim_get_hl' (a nil value) HOT 2
- After using the latest code, there is an error message when I split window HOT 11
- statusline overlaps separator when splitting horizontally HOT 8
- Error: Window was closed immediately HOT 1
- Conflict with trouble.nvim HOT 7
- conflict with window picker
- WinSeparator doesnt respect statusline HOT 2
- Vertical split and selecting right window breaks global statusline HOT 13
- Opening `q:` will show an error HOT 2
- [bug] after call NvimSeparatorDel, the color of win line not recovery HOT 1
- Border of top panel overlaps bottom panel HOT 4
- [BUG]: `colorful-winsep` is on top of `lualine` HOT 4
- [Enhancement] Enhance Vertical Split Visual Clarity with Distinct Active Window Borders HOT 7
- Bug
- Over-extending background HOT 1
- Change color of active window based on mode HOT 2
- Closing a tab throws an error HOT 2
- [Bug] Border height is wrong when using `laststatus=0` HOT 10
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 colorful-winsep.nvim.