Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
594 stars 103 forks source link

Treesitter CSS highlighing won't work #66

Closed IzzyDLP closed 1 year ago

IzzyDLP commented 1 year ago

image

This is if I use the 'new-improvements' branch.

image

This is from the current branch.

image

If I do :TSDisable highlight this is what it turns into. I have highlight = { enable = true} in my Treesitter config and the rest of the languages I have install work correctly except CSS. I tried to replicate it with Catppuccin, but that theme was working fine.

FredeEB commented 1 year ago

@IzzyDLP The new-improvements branch is 75 commits behind main, so it likely doesn't have the new treesitter highlight groups. That is to say new-improvements are probably not that new anymore.

@Mofiqul Maybe that branch should just be nuked from orbit?

Mofiqul commented 1 year ago

@FredeEB - yah i will do that

IzzyDLP commented 1 year ago

@IzzyDLP The new-improvements branch is 75 commits behind main, so it likely doesn't have the new treesitter highlight groups. That is to say new-improvements are probably not that new anymore.

@Mofiqul Maybe that branch should just be nuked from orbit?

Yeah i saw that it was behind a bit, but I tried it anyway so I figure I'd add that info in.

FredeEB commented 1 year ago

Oh sorry! Then I must have misunderstood

Can you post the output of :checkhealth?

On Sat, 10 Dec 2022, 00.46 Isaac De La Portilla, @.***> wrote:

@IzzyDLP https://github.com/IzzyDLP The new-improvements branch is 75 commits behind main, so it likely doesn't have the new treesitter highlight groups. That is to say new-improvements are probably not that new anymore.

@Mofiqul https://github.com/Mofiqul Maybe that branch should just be nuked from orbit?

Yeah i saw that it was behind a bit, but I tried it anyway so I figure I'd add that info in.

— Reply to this email directly, view it on GitHub https://github.com/Mofiqul/dracula.nvim/issues/66#issuecomment-1344893391, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZTS7U6NPP6IWRWEHITKZ3WMPAG3ANCNFSM6AAAAAASYX7OCQ . You are receiving this because you were mentioned.Message ID: @.***>

IzzyDLP commented 1 year ago

coc: health#coc#check

crates: require("crates.health").check()

Checking for required plugins

Checking for external dependencies

man: require("man.health").check()

null-ls: require("null-ls.health").check()

nvim: health#nvim#check

Configuration

Performance

Remote Plugins

terminal

nvim-treesitter: require("nvim-treesitter.health").check()

Installation

OS Info:

{ machine = "x86_64", release = "6.0.6-76060006-generic", sysname = "Linux", version = "#202210290932~1669062050~22.04~d94609a SMP PREEMPT_DYNAMIC Mon N" }

Parser/Features H L F I J

provider: health#provider#check

Clipboard (optional)

Python 3 provider (optional)

Python virtualenv

Ruby provider (optional)

Node.js provider (optional)

Perl provider (optional)

telescope: require("telescope.health").check()

Checking for required plugins

Checking external dependencies

===== Installed extensions =====

Telescope Extension: fzf

vim.lsp: require("vim.lsp.health").check()

vim.treesitter: require("vim.treesitter.health").check()

LSP says WARN, but I do not have it loading right now. I am still in the process of using CoC since I am still migrating over to LSP.

FredeEB commented 1 year ago

That all looks fine.

The first picture from your issue looks like the default highlighting with Dracula without treesitter and the last one looks like Dracula with treesitter. So I'm not sure I understand your issue

Drowze commented 1 year ago

I can confirm having the same issue: css is highlighting seem broken when using Treesitter

With Treesitter: Screenshot 2022-12-21 at 19 46 27

Without Treesitter: image

My dotfiles: https://github.com/Drowze/dotfiles/tree/master/.config/nvim