updated kakoune pygments post

This commit is contained in:
Daniel Fichtinger 2025-07-04 14:49:00 -04:00
parent 60f66c4144
commit 42b8681cf6

View file

@ -87,6 +87,12 @@ evaluate-commands %sh{
}
```
By contrast, here's how the `%sh` string _should_ look:
```sh
echo define-command is-kak %< info -title is-kak 'Not Kak!' >
```
Properly detecting these strings isn't currently possible with Pygments'
`RegexLexer`. I'd need to subclass the base lexer and implement my own token
scanning. Is it possible? Absolutely. Do I want to do it? **Absolutely not**.