updated kakoune pygments post
This commit is contained in:
parent
60f66c4144
commit
42b8681cf6
1 changed files with 6 additions and 0 deletions
|
@ -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**.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue