doc: fix color docs for diff & diagnostics component
fixes #39 closes #78
This commit is contained in:
parent
da9447fd49
commit
6aa103def8
14
README.md
14
README.md
|
@ -453,10 +453,10 @@ sections = {
|
||||||
sections = {'error', 'warn', 'info', 'hint'},
|
sections = {'error', 'warn', 'info', 'hint'},
|
||||||
-- all colors are in format #rrggbb
|
-- all colors are in format #rrggbb
|
||||||
diagnostics_color = {
|
diagnostics_color = {
|
||||||
error = nil, -- changes diagnostic's error foreground color
|
error = nil, -- changes diagnostic's error color
|
||||||
warn = nil, -- changes diagnostic's warn foreground color
|
warn = nil, -- changes diagnostic's warn color
|
||||||
info = nil, -- Changes diagnostic's info foreground color
|
info = nil, -- Changes diagnostic's info color
|
||||||
hint = nil, -- Changes diagnostic's hint foreground color
|
hint = nil, -- Changes diagnostic's hint color
|
||||||
}
|
}
|
||||||
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'}
|
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'}
|
||||||
update_in_insert = false, -- Update diagnostics in insert mode
|
update_in_insert = false, -- Update diagnostics in insert mode
|
||||||
|
@ -505,9 +505,9 @@ sections = {
|
||||||
colored = true, -- displays diff status in color if set to true
|
colored = true, -- displays diff status in color if set to true
|
||||||
-- all colors are in format #rrggbb
|
-- all colors are in format #rrggbb
|
||||||
diff_color = {
|
diff_color = {
|
||||||
added = nil, -- changes diff's added foreground color
|
added = nil, -- changes diff's added color
|
||||||
modified = nil, -- changes diff's modified foreground color
|
modified = nil, -- changes diff's modified color
|
||||||
removed = nil, -- changes diff's removed foreground color
|
removed = nil, -- changes diff's removed color
|
||||||
}
|
}
|
||||||
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
||||||
source = nil, -- A function that works as a data source for diff.
|
source = nil, -- A function that works as a data source for diff.
|
||||||
|
|
|
@ -433,10 +433,10 @@ will be.
|
||||||
sections = {'error', 'warn', 'info', 'hint'},
|
sections = {'error', 'warn', 'info', 'hint'},
|
||||||
-- all colors are in format #rrggbb
|
-- all colors are in format #rrggbb
|
||||||
diagnostics_color = {
|
diagnostics_color = {
|
||||||
error = nil, -- changes diagnostic's error foreground color
|
error = nil, -- changes diagnostic's error color
|
||||||
warn = nil, -- changes diagnostic's warn foreground color
|
warn = nil, -- changes diagnostic's warn color
|
||||||
info = nil, -- Changes diagnostic's info foreground color
|
info = nil, -- Changes diagnostic's info color
|
||||||
hint = nil, -- Changes diagnostic's hint foreground color
|
hint = nil, -- Changes diagnostic's hint color
|
||||||
}
|
}
|
||||||
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'}
|
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'}
|
||||||
update_in_insert = false, -- Update diagnostics in insert mode
|
update_in_insert = false, -- Update diagnostics in insert mode
|
||||||
|
@ -488,9 +488,9 @@ will be.
|
||||||
colored = true, -- displays diff status in color if set to true
|
colored = true, -- displays diff status in color if set to true
|
||||||
-- all colors are in format #rrggbb
|
-- all colors are in format #rrggbb
|
||||||
diff_color = {
|
diff_color = {
|
||||||
added = nil, -- changes diff's added foreground color
|
added = nil, -- changes diff's added color
|
||||||
modified = nil, -- changes diff's modified foreground color
|
modified = nil, -- changes diff's modified color
|
||||||
removed = nil, -- changes diff's removed foreground color
|
removed = nil, -- changes diff's removed color
|
||||||
}
|
}
|
||||||
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
||||||
source = nil, -- A function that works as a data source for diff.
|
source = nil, -- A function that works as a data source for diff.
|
||||||
|
|
Loading…
Reference in New Issue