Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
626 stars 104 forks source link

Change `@property` highlighting (fix #66) #70

Closed Drowze closed 1 year ago

Drowze commented 1 year ago

Changes highlighting for @property. This adds a bit more of highlighting to CSS files when using Treesitter (which fixes #66)

Using Treesitter on CSS file, before: image

Using Treesitter on CSS file, after: image

Still isn't awesome: the selectors are using the same highlighting as the CSS properties... But this is coming from Treesitter itself (which is assigning @property to both the selector and css properties). I tried to check a few themes on the wild and every theme I checked has the same "problem" when using Treesitter.