Skip to content

fix(winbar): clean winbar value input#96

Open
khaneliman wants to merge 1 commit intoDNLHC:masterfrom
khaneliman:buffer
Open

fix(winbar): clean winbar value input#96
khaneliman wants to merge 1 commit intoDNLHC:masterfrom
khaneliman:buffer

Conversation

@khaneliman
Copy link
Copy Markdown

@khaneliman khaneliman commented Apr 14, 2026

Resolve issue with file names with characters that can break logic. Tried keeping diff smaller, not sure if we need to check for a value before doing the transform, or not like I have in personal patch khaneliman/khanelivim@ab9164a

vim.schedule callback: ...k/myNeovimPackages/opt/glance.nvim/lua/glance/winbar.lua:0: E539: Illegal character <A>
stack traceback:
	[C]: in function 'nvim_win_set_option'
	...k/myNeovimPackages/opt/glance.nvim/lua/glance/winbar.lua: in function <...k/myNeovimPackages/opt/glance.nvim/lua/glance/winbar.lua:0>

Example currently (error thrown, no file name):
image

Example value when patched:
image

Resolve issue with buffer names with characters that can break logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant