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

fix: disable display-signs on floating windows

Open triarius opened this issue 1 year ago • 3 comments

The filetype exclusions are not the best way to disable the mark signs on certain windows as the filetype is a property of the buffer, while floating is a property of the window. The same filetype could be displayed differently depending on whether its window is floating or not. I think most users are unlikely to want these in floating windows, so I disabled them entirely. I'd be happy to make this configurable, but I think the default should be that they are not shown, as typically the normal editing workflow does not apply to floating windows.

In my case, they appear in LSP hints, which are not intended to hold a cursor. It also makes the content no longer fit in the window.

Fixes: #60

Screenshots for LSP

Before

2023-11-25-17-46-48

After

2023-11-25-17-46-10

Screenshots for Neo Tree

Ignore the line numbers, they are caused by a different plugin.

Before

2023-11-25-17-08-44

After

2023-11-25-17-09-23

triarius avatar Nov 25 '23 06:11 triarius