plugins.glow.settings
Options provided to the require('glow').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
border = "shadow";
height = 100;
height_ratio = 0.7;
pager = false;
style = "dark";
width = 80;
width_ratio = 0.7;
}
Declared by:
plugins.glow.settings.border
Style of the floating window’s border.
Type: null or one of “shadow”, “none”, “double”, “rounded”, “solid”, “single” or raw lua code
Default:
null
Plugin default: "shadow"
Declared by:
plugins.glow.settings.glow_path
Path to glow
binary.
If null or ""
, glow
in your $PATH
with be used if available.
Using glowPackage
is the recommended way to make glow
available in your $PATH
.
Type: null or string or raw lua code
Default:
null
Plugin default:
{
__raw = "vim.fn.exepath('glow')";
}
Declared by:
plugins.glow.settings.height
Height of the floating window.
Type: null or signed integer or floating point number or raw lua code
Default:
null
Plugin default: 100
Declared by:
plugins.glow.settings.height_ratio
Maximum height of the floating window relative to the window size.
Type: null or signed integer or floating point number or raw lua code
Default:
null
Plugin default: 0.7
Declared by:
plugins.glow.settings.install_path
Path for installing glow
binary if one is not found at glow_path
or in your $PATH
.
Consider using glowPackage
instead.
Type: null or string or raw lua code
Default:
null
Plugin default: "~/.local/bin"
Declared by:
plugins.glow.settings.pager
Display output in a pager style.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.glow.settings.style
Glow style.
Type: null or string or raw lua code or one of “dark”, “light”
Default:
null
Plugin default:
{
__raw = "vim.opt.background";
}
Declared by:
plugins.glow.settings.width
Width of the floating window.
Type: null or signed integer or floating point number or raw lua code
Default:
null
Plugin default: 100
Declared by:
plugins.glow.settings.width_ratio
Maximum width of the floating window relative to the window size.
Type: null or signed integer or floating point number or raw lua code
Default:
null
Plugin default: 0.7
Declared by: