Skip to content

Inline codes

Shawon edited this page Aug 5, 2024 · 2 revisions

📑 Inline codes

inline_codes = {
    enable = true,
    hl = "DiagnosticOk",

    corner_left = nil,
    corner_left_hl = nil,

    padding_left = " ",
    padding_left_hl = nil,

    padding_right = " ",
    padding_right_hl = nil,

    corner_right = nil,
    corner_right_hl = nil
}

🔩 Configuration options

  • enable, boolean or nil

    Used for toggling the rendering of inline codes.

  • hl, string or nil

    Default highlight group for the inline codes.

  • corner_left, string or nil

    Text used as the left corner of the inline codes.

  • corner_left_hl, string or nil

    Highlight group for corner_left.

  • padding_left, string or nil

    Text used as the left padding of the inline codes.

  • padding_left_hl, string or nil

    Highlight group for padding_left.

  • padding_right, string or nil

    Text used as the right padding of the inline codes.

  • padding_right_hl, string or nil

    Highlight group for padding_right.

  • corner_right, string or nil

    Text used as the right corner of the inline codes.

  • corner_right_hl, string or nil

    Highlight group for corner_right.

Clone this wiki locally