Skip to content

:highlight style #1280

Answered by tstack
TerryQuiet asked this question in Q&A
Discussion options

You must be logged in to vote

The :highlight command doesn't support customizing the styling. You can add a config file that tweaks the theme, here is an example that bolds the word "Entered":

{
    "$schema": "https://lnav.org/schemas/config-v1.schema.json",
    "ui": {
        "theme-defs": {
            "default": {
                "highlights": {
                    "example1":{
                        "pattern": "Entered",
                        "style": {
                            "bold": true
                        }
                    }
                }
            }
        }
    }
}

See https://docs.lnav.org/en/v0.12.2/config.html#style for the details on what options are available for the style.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TerryQuiet
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