vim icon indicating copy to clipboard operation
vim copied to clipboard

Neovim: Update tree-sitter support for CSS

Open tientrinh21 opened this issue 3 years ago • 2 comments

Hello! I found that dracula/vim worked well with HTML & JS via tree-sitter but not CSS. So I took some time to add some highlights for it; I tried to make it look like Vscode as much as possible.

What I linked:

  • Make ,, ., ;, etc. become pink: TSPunctDelimiter -> DraculaPink
  • Make selectors become pink: TSType -> DraculaPink
  • Make classes, properties become cyan: TSProperty -> DraculaCyan
  • Make URLs become orange: TSError -> DraculaOrange (I was inspired by how shaunsingh/nord.nvim did it)

Before:

image

After:

image

tientrinh21 avatar Aug 11 '22 17:08 tientrinh21

someone working on this as there is stilll no css highlighting in neovim?

halshar avatar Aug 04 '23 22:08 halshar

Neither Derek nor I is working on it, I believe. We requested some changes which have not been implemented.

benknoble avatar Aug 05 '23 14:08 benknoble