I created a tree-sitter grammar for printf. It's a few lines of code. Then I added a few queries to neovim to inject this new grammar in Go for Printf, Sprintf, Fprintf and Errorf. And now it highlights the "%s" in the format string.
Bio
This website was created by Peter Stuifzand.
Currently I'm testing micropub, microsub and working on Indieweb things.