patch: fixes (#34)
- Fixed Luanne, as it was not configured correctly after the last refactor (should've tested it correctly) - Fixed small issue with separator in neo-tree - Remove EOB character
This commit is contained in:
parent
f44000e518
commit
b7d1a54e43
3 changed files with 83 additions and 86 deletions
|
|
@ -14,8 +14,8 @@
|
||||||
defaultComponentConfigs = {
|
defaultComponentConfigs = {
|
||||||
indent = {
|
indent = {
|
||||||
withExpanders = true;
|
withExpanders = true;
|
||||||
expanderCollapsed = "";
|
expanderCollapsed = "";
|
||||||
expanderExpanded = " ";
|
expanderExpanded = "";
|
||||||
expanderHighlight = "NeoTreeExpander";
|
expanderHighlight = "NeoTreeExpander";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
renamed = "";
|
renamed = "";
|
||||||
staged = "";
|
staged = "";
|
||||||
unstaged = "";
|
unstaged = "";
|
||||||
untracked = "";
|
untracked = " ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,90 +12,82 @@ _: {
|
||||||
statusline = ["startup" "alpha"];
|
statusline = ["startup" "alpha"];
|
||||||
};
|
};
|
||||||
theme = "catppuccin";
|
theme = "catppuccin";
|
||||||
sections = {
|
};
|
||||||
lualine_a = [
|
sections = {
|
||||||
{
|
lualine_a = [
|
||||||
name = "mode";
|
{
|
||||||
icon = " ";
|
__unkeyed-1 = "mode";
|
||||||
}
|
icon = "";
|
||||||
];
|
}
|
||||||
lualine_b = [
|
];
|
||||||
{
|
lualine_b = [
|
||||||
name = "branch";
|
{
|
||||||
icon = "";
|
__unkeyed-1 = "branch";
|
||||||
}
|
icon = "";
|
||||||
{
|
}
|
||||||
name = "diff";
|
{
|
||||||
extraConfig = {
|
__unkeyed-1 = "diff";
|
||||||
symbols = {
|
symbols = {
|
||||||
added = " ";
|
added = " ";
|
||||||
modified = " ";
|
modified = " ";
|
||||||
removed = " ";
|
removed = " ";
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
}
|
];
|
||||||
];
|
lualine_c = [
|
||||||
lualine_c = [
|
{
|
||||||
{
|
__unkeyed-1 = "diagnostics";
|
||||||
name = "diagnostics";
|
sources = ["nvim_lsp"];
|
||||||
extraConfig = {
|
symbols = {
|
||||||
sources = ["nvim_lsp"];
|
error = " ";
|
||||||
symbols = {
|
warn = " ";
|
||||||
error = " ";
|
info = " ";
|
||||||
warn = " ";
|
hint = " ";
|
||||||
info = " ";
|
};
|
||||||
hint = " ";
|
}
|
||||||
};
|
{
|
||||||
};
|
__unkeyed-1 = "navic";
|
||||||
}
|
}
|
||||||
{
|
];
|
||||||
name = "navic";
|
lualine_x = [
|
||||||
}
|
{
|
||||||
];
|
__unkeyed-1 = "filetype";
|
||||||
lualine_x = [
|
icon_only = true;
|
||||||
{
|
separator = "";
|
||||||
name = "filetype";
|
padding = {
|
||||||
extraConfig = {
|
left = 1;
|
||||||
icon_only = true;
|
right = 0;
|
||||||
separator = "";
|
};
|
||||||
padding = {
|
}
|
||||||
left = 1;
|
{
|
||||||
right = 0;
|
__unkeyed-1 = "filename";
|
||||||
};
|
path = 1;
|
||||||
};
|
}
|
||||||
}
|
{
|
||||||
{
|
__unkeyed-1.__raw = ''
|
||||||
name = "filename";
|
function()
|
||||||
extraConfig = {
|
local icon = " "
|
||||||
path = 1;
|
local status = require("copilot.api").status.data
|
||||||
};
|
return icon .. (status.message or " ")
|
||||||
}
|
end,
|
||||||
{
|
|
||||||
name.__raw = ''
|
|
||||||
function()
|
|
||||||
local icon = " "
|
|
||||||
local status = require("copilot.api").status.data
|
|
||||||
return icon .. (status.message or " ")
|
|
||||||
end,
|
|
||||||
|
|
||||||
cond = function()
|
cond = function()
|
||||||
local ok, clients = pcall(vim.lsp.get_clients, { name = "copilot", bufnr = 0 })
|
local ok, clients = pcall(vim.lsp.get_clients, { name = "copilot", bufnr = 0 })
|
||||||
return ok and #clients > 0
|
return ok and #clients > 0
|
||||||
end,
|
end,
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
lualine_y = [
|
lualine_y = [
|
||||||
{
|
{
|
||||||
name = "progress";
|
__unkeyed-1 = "progress";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
lualine_z = [
|
lualine_z = [
|
||||||
{
|
{
|
||||||
name = "location";
|
__unkeyed-1 = "location";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,11 @@
|
||||||
|
|
||||||
# Hide command line unless needed
|
# Hide command line unless needed
|
||||||
cmdheight = 0;
|
cmdheight = 0;
|
||||||
|
|
||||||
|
# Remove EOB
|
||||||
|
fillchars = {
|
||||||
|
eob = " ";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue