Skip to main content

plugins.drawwhitespace

local drawwhitespace = require "plugins.drawwhitespace"

config.plugins.drawwhitespace

Configuration options for drawwhitespace plugin.

color

(field) color: renderer.color

Default color used to render the white spaces.


enabled

(field) enabled: boolean

leading_color

(field) leading_color: renderer.color

Color for leading white spaces.


middle_color

(field) middle_color: renderer.color

Color for middle white spaces.


show_leading

(field) show_leading: boolean

Show white spaces at the beginning of a line.


show_middle

(field) show_middle: boolean

Show white spaces between words.


show_middle_min

(field) show_middle_min: integer

Minimum amount of white spaces between words in order to show them.


show_selected_only

(field) show_selected_only: boolean

Show white spaces on selected text only.


show_trailing

(field) show_trailing: boolean

Show white spaces at the end of a line.


substitutions

(field) substitutions: config.plugins.drawwhitespace.substitutions[]

Character substitutions.


trailing_color

(field) trailing_color: renderer.color

Color for trailing white spaces.


config.plugins.drawwhitespace.options

Base configuration options.

color

(field) color: renderer.color

Default color used to render the white spaces.


enabled

(field) enabled: boolean

Disable or enable the drawing of white spaces.


leading_color

(field) leading_color: renderer.color

Color for leading white spaces.


middle_color

(field) middle_color: renderer.color

Color for middle white spaces.


show_leading

(field) show_leading: boolean

Show white spaces at the beginning of a line.


show_middle

(field) show_middle: boolean

Show white spaces between words.


show_middle_min

(field) show_middle_min: integer

Minimum amount of white spaces between words in order to show them.


show_selected_only

(field) show_selected_only: boolean

Show white spaces on selected text only.


show_trailing

(field) show_trailing: boolean

Show white spaces at the end of a line.


trailing_color

(field) trailing_color: renderer.color

Color for trailing white spaces.


config.plugins.drawwhitespace.substitutions

Character substitution options.

char

(field) char: string

The character to substitute.


color

(field) color: renderer.color

Default color used to render the white spaces.


enabled

(field) enabled: boolean

Disable or enable the drawing of white spaces.


leading_color

(field) leading_color: renderer.color

Color for leading white spaces.


middle_color

(field) middle_color: renderer.color

Color for middle white spaces.


show_leading

(field) show_leading: boolean

Show white spaces at the beginning of a line.


show_middle

(field) show_middle: boolean

Show white spaces between words.


show_middle_min

(field) show_middle_min: integer

Minimum amount of white spaces between words in order to show them.


show_selected_only

(field) show_selected_only: boolean

Show white spaces on selected text only.


show_trailing

(field) show_trailing: boolean

Show white spaces at the end of a line.


sub

(field) sub: string

The substitution character,


trailing_color

(field) trailing_color: renderer.color

Color for trailing white spaces.