Skip to content

Conversation

@dancek
Copy link
Contributor

@dancek dancek commented Oct 31, 2022

Based on the Vim syntax highlighting by Marshall Lochbaum[0], with number parsing from PrismJS highlighter by Christopher Rodriguez[1].

The lexed types are selected to be as descriptive as possible while retaining similar groupings to the Vim highlighter, so the highlighted code looks familiar to BQN users.

Based on the Vim syntax highlighting by Marshall Lochbaum[[0]], with number
parsing from PrismJS highlighter by Christopher Rodriguez[[1]].

The lexed types are selected to be as descriptive as possible while
retaining similar groupings to the Vim highlighter, so the highlighted
code looks familiar to BQN users.

[0]: https://github.com/mlochbaum/BQN/blob/a436a71a083f410fd58d86e8d228470c68c24b91/editors/vim/syntax/bqn.vim
[1]: PrismJS/prism@859f99a
Copy link
Owner

@alecthomas alecthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@alecthomas alecthomas merged commit 5644f41 into alecthomas:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants