plugins.lightline.enable
Whether to enable lightline.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.lightline.package
Which package to use for the lightline plugin.
Type: package
Default:
<derivation vimplugin-lightline.vim-2024-01-13>
Declared by:
plugins.lightline.colorscheme
The colorscheme to use for lightline. Defaults to .colorscheme.
Type: null or string
Default:
null
Example:
"gruvbox"
Declared by:
plugins.lightline.component
Lightline component definitions. Uses ‘statusline’ syntax. Consult :h ‘statusline’ for a list of what’s available.
Type: null or (attribute set of string)
Default:
null
Declared by:
plugins.lightline.componentFunction
A list of function component definitions.
You should define the functions themselves in extraConfig
Type: null or (attribute set of string)
Default:
null
Example:
''
plugins.lightline = {
enable = true;
componentFunction = {
readonly = "LightlineReadonly";
};
extraConfig = '''
function! LightlineReadonly()
return &readonly && &filetype !=# 'help' ? 'RO' : '''
endfunction
''';
};
''
Declared by:
plugins.lightline.modeMap
Mode name mappings
Type: null or (attribute set of string)
Default:
null
Declared by: