Skip to content

How to highlight whitespace characters in matches? #93

Answered by ggandor
molleweide asked this question in Q&A
Discussion options

You must be logged in to vote

By default, no, but you can set require('lightspeed').opts.substitute_chars[' '] = <whatever you want spaces in matches to be displayed as>. newline is the only one for which such a substitute char is set by default (¬).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@molleweide
Comment options

Answer selected by molleweide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants