doums / darcula

A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
368 stars 59 forks source link

minor tree-sitter corrections #22

Closed tormodatt closed 3 years ago

tormodatt commented 3 years ago

Just a few minor corrections, when comparing to Intellij at least:

doums commented 3 years ago

Hi,

import, package in kotlin is highlighted as keywords are. (similary to use in rust, like in the screenshot in the README)

Yeah but for C for example the right color is PreProc and sadly nvim-treesitter does not allow to make the difference between pre-processor include and others like import in js, use in rust etc.. So I will probably add some custom capture groups for treesitter regarding this.

Tanks you for this little fix.