Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird color combo in code snippets when using markview #80

Closed
kraanzu opened this issue Sep 30, 2024 · 5 comments
Closed

Weird color combo in code snippets when using markview #80

kraanzu opened this issue Sep 30, 2024 · 5 comments

Comments

@kraanzu
Copy link

kraanzu commented Sep 30, 2024

So I'm using markview.nvim for markdown previews and the color combo for snippet code is weird

Here's a screenshot:

When markview if off:

image

When enabled:

image


With nordtheme/vim plugin (+ other theme plugins also look good)

image

@gbprod
Copy link
Owner

gbprod commented Oct 2, 2024

Hi!
I can't reproduce your issue, when I use this plugin and a bash code block, it looks like with the old nordtheme/vim..
Can you share your setup of markview and nord ?
Can you also do an Inspect on the code bloc ? (the easier is to use the right click)

@kraanzu
Copy link
Author

kraanzu commented Oct 2, 2024

Nord config:

	{
		"gbprod/nord.nvim",
		config = function()
			require("nord").setup({ transparent = true })
			vim.cmd.colorscheme("nord")
		end,
	},

Markview:

return {
	"OXY2DEV/markview.nvim",
	lazy = false, -- Recommended

	dependencies = {
		"nvim-treesitter/nvim-treesitter",
		"nvim-tree/nvim-web-devicons",
	},
}

By right click, do you mean this:

image

@kraanzu
Copy link
Author

kraanzu commented Oct 2, 2024

Ok I found out, it's the transparency that's causing the issue

@gbprod gbprod mentioned this issue Oct 3, 2024
@gbprod
Copy link
Owner

gbprod commented Oct 3, 2024

I've made some changes and fixed this ;)

@kraanzu
Copy link
Author

kraanzu commented Oct 3, 2024

Yep. That works great now for me. Thanks!!

@kraanzu kraanzu closed this as completed Oct 3, 2024
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

No branches or pull requests

2 participants