docs: added diagnostics docs to lualine.txt(#111)
This commit is contained in:
parent
3ae9a2a483
commit
1c44781835
|
@ -157,16 +157,17 @@ Lualine defaults~
|
||||||
Available components~
|
Available components~
|
||||||
|
|
||||||
general~
|
general~
|
||||||
* branch
|
* branch (git branch)
|
||||||
* encoding
|
* diagnostics (diagnostics count from your prefered source)
|
||||||
* fileformat
|
* encoding (file encoding)
|
||||||
|
* fileformat (file format)
|
||||||
* filename
|
* filename
|
||||||
* filetype
|
* filetype
|
||||||
* location
|
* location (location in file in line:column format)
|
||||||
* mode
|
* mode (vim mode)
|
||||||
* progress
|
* progress (%progress in file)
|
||||||
plugin~
|
plugin~
|
||||||
* signify
|
* signify (signify status)
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
@ -271,14 +272,38 @@ Component specific options~
|
||||||
These options are available for specific components only.
|
These options are available for specific components only.
|
||||||
List of options are given below.
|
List of options are given below.
|
||||||
|
|
||||||
|
|
||||||
|
• diagnostics~
|
||||||
|
• sources (nil)
|
||||||
|
displays diagnostic count from defined source.
|
||||||
|
array containing one or many string from set
|
||||||
|
{'nvim_lsp', 'coc', 'ale'}
|
||||||
|
|
||||||
|
• sections ({'error', 'warn', 'info'})
|
||||||
|
displays diagnostics of defined severity.
|
||||||
|
array containing one or many string from set
|
||||||
|
{'error', 'warn', 'info'}
|
||||||
|
|
||||||
|
• color_error (DiffDelete foreground color)
|
||||||
|
changes diagnostic's error section foreground color.
|
||||||
|
color in #rrggbb format
|
||||||
|
|
||||||
|
• color_warn (DiffText foreground color)
|
||||||
|
changes diagnostic's warn section foreground color
|
||||||
|
color in #rrggbb format
|
||||||
|
|
||||||
|
• color_info (Normal foreground color)
|
||||||
|
changes diagnostic's info section foreground color
|
||||||
|
color in #rrggbb format
|
||||||
|
|
||||||
• filename~
|
• filename~
|
||||||
• file_status (true)
|
• file_status (true)
|
||||||
Whether to display filemodified status in filename
|
Whether to display filemodified status in filename
|
||||||
|
|
||||||
• shorten (true)
|
• shorten (true)
|
||||||
Whether to display full/relative path with filename
|
Whether to display full/relative path with filename
|
||||||
|
|
||||||
• full_path (false)
|
• full_path (false)
|
||||||
Whether to display full path when shorten is false
|
Whether to display full path when shorten is false
|
||||||
|
|
||||||
• fileformat~
|
• fileformat~
|
||||||
|
@ -287,18 +312,17 @@ List of options are given below.
|
||||||
are automaticaly extracted from colorscheme . If you
|
are automaticaly extracted from colorscheme . If you
|
||||||
want to change any of those you can use options given below.
|
want to change any of those you can use options given below.
|
||||||
|
|
||||||
|
|
||||||
• signify~
|
• signify~
|
||||||
• colored (true)
|
• colored (true)
|
||||||
Whether to show colors
|
Whether to show colors
|
||||||
|
|
||||||
• color_added ('#90ee90')
|
• color_added (DiffAdd foreground color)
|
||||||
Foreground color of added section
|
Foreground color of added section
|
||||||
|
|
||||||
• color_modified ('#f0e130')
|
• color_modified (DiffChange foreground color)
|
||||||
Foreground color of modified section
|
Foreground color of modified section
|
||||||
|
|
||||||
• color_removed ('#ff0038')
|
• color_removed (DiffDelete foreground color)
|
||||||
Foreground color of removed section
|
Foreground color of removed section
|
||||||
|
|
||||||
Example:~
|
Example:~
|
||||||
|
|
Loading…
Reference in New Issue