no-neck-pain.nvim icon indicating copy to clipboard operation
no-neck-pain.nvim copied to clipboard

With the right buffer disabled on vimEnter, text is cut/hidden.

Open vinoff opened this issue 1 year ago • 1 comments

This is my NoNeckPain config:

return {
	"shortcuts/no-neck-pain.nvim",
	config = function()
		require("no-neck-pain").setup({
			autocmds = {
				enableOnVimEnter = true,
				-- enableOnVimEnter = false,
			},
			buffers = {
				right = {
					enabled = false,
				},
			},
		})
	end,
}

When using NeoVide, this is what I see when I open a file using neovide (neovide telescope.lua in terminal): noneckpain

Notice that the text is hidden/cut. If I do something on the file, however, the problem fixes itself. For example, if I go to the bottom of the file by doing G, the text is shown.

Interestingly, I cannot reproduce this on the terminal because my config doesnt make NoNeckTree auto-open there.

vinoff avatar Dec 06 '23 10:12 vinoff

Hey @vinoff, thanks for reporting and using the plugin!

I guess there might be a conflict with Neovide in that case because I have this exact same setup and can't reproduce! I'll take a look ASAP

Screenshot 2023-12-06 at 12 22 16

shortcuts avatar Dec 06 '23 11:12 shortcuts

Actually I just realized, it's not cut or hidden, you have the right buffer enabled, no?

You can try to add buffers={right={enabled=false}} at the root of your config

shortcuts avatar Sep 03 '24 21:09 shortcuts