mirror of https://gitlab.com/baco/dotconf.git
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:
parent
65486600bc
commit
6c7a5a2c37
|
@ -0,0 +1,3 @@
|
|||
; Correct coloring group for class keyword:
|
||||
; https://github.com/nvim-treesitter/nvim-treesitter/pull/3177#issuecomment-1186027468
|
||||
"class" @keyword.function
|
Loading…
Reference in New Issue