-
-
Notifications
You must be signed in to change notification settings - Fork 16
Highlights
Aquib edited this page Sep 13, 2021
·
1 revision
Example:
sections = {
mid = { 'file_name' }
}
will look like:
now, adding -
at the beginning:
sections = {
mid = { '-file_name' }
}
will look like:
If you want a specific highlight for a single section, specify it as a table like { highlight, section }
sections = {
mid = { { 'RandomHighlight', '-file_name' } }
}
And then later specify this somewhere else:
vim.cmd('highlight RandomHighlight guifg=#000000 guibg=#ffffff')
or provide an already defined highlight like LspDiagnosticsError
, Visual
, etc