ishan9299 / nvim-solarized-lua

solarized colorscheme in lua for nvim 0.5
MIT License
184 stars 54 forks source link

Support for coloring printf's TreeSitter words #67

Open greg0ire opened 3 months ago

greg0ire commented 3 months ago

I have installed the printf Treesitter parser. I'm sure it works because when running :InspectTree, I get this for a string inside a call to Go's fmt.Sprintf.

                                    (format_string ; [57, 30] - [57, 62]
                                      (format ; [57, 56] - [57, 58]
                                        (type)) ; [57, 57] - [57, 58]
                                      (format ; [57, 59] - [57, 61]
                                        (type)))) ; [57, 60] - [57, 61]

But it is all the same color. Can you please add different highlights for format, and maybe even type?