Updated Lualine with mode icon, moved git diff and added a icon displaying Github copilot status. Changed setting to default yank to system clipboard Updated startup dashboard
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{
|
|
config = {
|
|
extraConfigLuaPre =
|
|
# lua
|
|
''
|
|
vim.fn.sign_define("diagnosticsignerror", { text = " ", texthl = "diagnosticerror", linehl = "", numhl = "" })
|
|
vim.fn.sign_define("diagnosticsignwarn", { text = " ", texthl = "diagnosticwarn", linehl = "", numhl = "" })
|
|
vim.fn.sign_define("diagnosticsignhint", { text = "", texthl = "diagnostichint", linehl = "", numhl = "" })
|
|
vim.fn.sign_define("diagnosticsigninfo", { text = " ", texthl = "diagnosticinfo", linehl = "", numhl = "" })
|
|
'';
|
|
|
|
clipboard = {
|
|
providers.wl-copy.enable = true;
|
|
};
|
|
|
|
opts = {
|
|
number = true;
|
|
relativenumber = true;
|
|
clipboard = "unnamedplus";
|
|
tabstop = 2;
|
|
softtabstop = 2;
|
|
showtabline = 2;
|
|
expandtab = true;
|
|
smartindent = true;
|
|
shiftwidth = 2;
|
|
breakindent = true;
|
|
cursorline = true;
|
|
scrolloff = 8;
|
|
foldmethod = "manual";
|
|
foldenable = false;
|
|
linebreak = true;
|
|
spell = false;
|
|
swapfile = false;
|
|
timeoutlen = 300;
|
|
termguicolors = true;
|
|
showmode = false;
|
|
splitbelow = true;
|
|
splitkeep = "screen";
|
|
splitright = true;
|
|
};
|
|
};
|
|
}
|