bump inputs
This commit is contained in:
parent
025fbf87a7
commit
340017ed29
6 changed files with 156 additions and 119 deletions
|
@ -1,67 +1,66 @@
|
|||
{...}: {
|
||||
plugins.lualine = {
|
||||
enable = true;
|
||||
globalstatus = true;
|
||||
theme = "gruvbox-material";
|
||||
|
||||
# Load our extensions
|
||||
extensions = [
|
||||
"neo-tree"
|
||||
];
|
||||
settings = {
|
||||
options = {
|
||||
globalstatus = true;
|
||||
theme = "gruvbox-material";
|
||||
|
||||
# Icons for our separators
|
||||
componentSeparators = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
sectionSeparators = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
# Icons for our separators
|
||||
componentSeparators = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
|
||||
# Display components in tabline
|
||||
tabline = {
|
||||
lualine_a = [{name = "buffers";}];
|
||||
lualine_x = [{name = "hostname";}];
|
||||
lualine_z = [{name = "encoding";}];
|
||||
};
|
||||
sectionSeparators = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
};
|
||||
|
||||
# Lualine has sections as shown below
|
||||
# +-------------------------------------------------+
|
||||
# | A | B | C X | Y | Z |
|
||||
# +-------------------------------------------------+
|
||||
sections = {
|
||||
# Section A
|
||||
lualine_a = [{name = "mode";}];
|
||||
# Display components in tabline
|
||||
tabline = {
|
||||
lualine_a = [{__unkeyed-1 = "buffers";}];
|
||||
lualine_x = [{__unkeyed-1 = "hostname";}];
|
||||
lualine_z = [{__unkeyed-1 = "encoding";}];
|
||||
};
|
||||
|
||||
# Section B
|
||||
lualine_b = [
|
||||
# Git branch
|
||||
{
|
||||
name = "branch";
|
||||
icon = "";
|
||||
}
|
||||
# Lualine has sections as shown below
|
||||
# +-------------------------------------------------+
|
||||
# | A | B | C X | Y | Z |
|
||||
# +-------------------------------------------------+
|
||||
sections = {
|
||||
# Section A
|
||||
lualine_a = [{__unkeyed-1 = "mode";}];
|
||||
|
||||
# Git diff status
|
||||
{
|
||||
name = "diff";
|
||||
extraConfig.symbols = {
|
||||
added = "+";
|
||||
modified = "~";
|
||||
removed = "-";
|
||||
};
|
||||
}
|
||||
];
|
||||
# Section B
|
||||
lualine_b = [
|
||||
# Git branch
|
||||
{
|
||||
__unkeyed-1 = "branch";
|
||||
icon = "";
|
||||
}
|
||||
|
||||
# Section C
|
||||
lualine_c = [{name = "filename";}];
|
||||
# Git diff status
|
||||
{
|
||||
__unkeyed-1 = "diff";
|
||||
symbols = {
|
||||
added = "+";
|
||||
modified = "~";
|
||||
removed = "-";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
# Section X
|
||||
lualine_x = [
|
||||
# Diagnostic count from nvim_lsp
|
||||
{
|
||||
name = "diagnostics";
|
||||
extraConfig = {
|
||||
# Section C
|
||||
lualine_c = [{__unkeyed-1 = "filename";}];
|
||||
|
||||
# Section X
|
||||
lualine_x = [
|
||||
# Diagnostic count from nvim_lsp
|
||||
{
|
||||
__unkeyed-1 = "diagnostics";
|
||||
sources = ["nvim_lsp"];
|
||||
symbols = {
|
||||
error = "error:";
|
||||
|
@ -69,15 +68,20 @@
|
|||
info = "info:";
|
||||
hint = "hint:";
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
# Section Y
|
||||
lualine_y = [{__unkeyed-1 = "progress";}];
|
||||
|
||||
# Section Z
|
||||
lualine_z = [{__unkeyed-1 = "location";}];
|
||||
};
|
||||
|
||||
# Load our extensions
|
||||
extensions = [
|
||||
"neo-tree"
|
||||
];
|
||||
|
||||
# Section Y
|
||||
lualine_y = [{name = "progress";}];
|
||||
|
||||
# Section Z
|
||||
lualine_z = [{name = "location";}];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue