fix: Change keyword class grouping in treesiter

Most colorchemes get the wrong color for the python class-keyword. This
fix overrides the default and groups “class” to be highlighted with the
same color than function declarations.

There is a comment in the file referring an where the tip came from.
This commit is contained in:
Dionisio E Alonso 2022-07-20 12:58:33 -03:00
parent 65486600bc
commit 6c7a5a2c37
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
; Correct coloring group for class keyword:
; https://github.com/nvim-treesitter/nvim-treesitter/pull/3177#issuecomment-1186027468
"class" @keyword.function