plugins.todo-comments.settings.highlight.after

Whether to apply the after highlight to the foreground or background.

Type: null or one of “fg”, “bg”, “” or raw lua code

Default: null

Plugin default: "fg"

Declared by:

plugins.todo-comments.settings.highlight.before

Whether to apply the before highlight to the foreground or background.

Type: null or one of “”, “fg”, “bg” or raw lua code

Default: null

Plugin default: ""

Declared by:

plugins.todo-comments.settings.highlight.comments_only

Uses treesitter to match keywords in comments only.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.todo-comments.settings.highlight.exclude

List of file types to exclude highlighting.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: [ ]

Declared by:

plugins.todo-comments.settings.highlight.keyword

How highlighting is applied to the keyword.

wide and wide_bg are the same as bg, but will also highlight surrounding characters, wide_fg acts accordingly but with fg.

Type: null or one of “wide”, “fg”, “bg”, “wide_bg”, “wide_fg”, “” or raw lua code

Default: null

Plugin default: "wide"

Declared by:

plugins.todo-comments.settings.highlight.max_line_len

Ignore lines longer than this.

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 400

Declared by:

plugins.todo-comments.settings.highlight.multiline

Enable multiline todo comments.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.todo-comments.settings.highlight.multiline_context

Extra lines that will be re-evaluated when changing a line.

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 10

Declared by:

plugins.todo-comments.settings.highlight.multiline_pattern

Lua pattern to match the next multiline from the start of the matched keyword.

Type: null or string or raw lua code

Default: null

Plugin default: "^."

Declared by:

plugins.todo-comments.settings.highlight.pattern

Pattern or list of patterns, used for highlighting (vim regex).

Type: null or string or list of string

Default: null

Plugin default: ".*<(KEYWORDS)\\s*:"

Declared by: