feat(nvim/bufferline): use lazyvim style and icons
This commit is contained in:
parent
b25a89b471
commit
04fa8c1ab2
@ -1,8 +1,22 @@
|
||||
{
|
||||
helpers,
|
||||
icons,
|
||||
...
|
||||
}: {
|
||||
plugins = {
|
||||
bufferline = {
|
||||
enable = true;
|
||||
separatorStyle = "thick"; # “slant”, “padded_slant”, “slope”, “padded_slope”, “thick”, “thin”
|
||||
separatorStyle = "thin"; # “slant”, “padded_slant”, “slope”, “padded_slope”, “thick”, “thin”
|
||||
alwaysShowBufferline = false;
|
||||
diagnostics = "nvim_lsp";
|
||||
diagnosticsIndicator = ''
|
||||
function(_, _, diag)
|
||||
local icons = ${helpers.toLuaObject icons.diagnostics}
|
||||
local ret = (diag.error and icons.Error .. diag.error .. " " or "")
|
||||
.. (diag.warning and icons.Warn .. diag.warning or "")
|
||||
return vim.trim(ret)
|
||||
end
|
||||
'';
|
||||
offsets = [
|
||||
{
|
||||
filetype = "neo-tree";
|
||||
|
Loading…
x
Reference in New Issue
Block a user