refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
54
plugins/lualine/default.nix
Normal file
54
plugins/lualine/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
extraConfigLua = # lua
|
||||
''
|
||||
vim.cmd([[hi StatusLine guibg=NONE ctermbg=NONE]])
|
||||
'';
|
||||
|
||||
plugins.lualine = {
|
||||
enable = true;
|
||||
|
||||
settings =
|
||||
let
|
||||
separators = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
transparent = {
|
||||
a.fg = "none";
|
||||
c.bg = "none";
|
||||
};
|
||||
in
|
||||
{
|
||||
options = {
|
||||
theme = {
|
||||
normal = transparent;
|
||||
insert = transparent;
|
||||
visual = transparent;
|
||||
replace = transparent;
|
||||
command = transparent;
|
||||
inactive = transparent;
|
||||
};
|
||||
always_divide_middle = true;
|
||||
globalstatus = true;
|
||||
icons_enable = true;
|
||||
component_separators = separators;
|
||||
section_separatros = separators;
|
||||
disabled_filetypes = [
|
||||
"Outline"
|
||||
"neo-tree"
|
||||
"dashboard"
|
||||
"snacks_dashboard"
|
||||
"snacks_terminal"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imports =
|
||||
with builtins;
|
||||
with lib;
|
||||
map (fn: ./${fn}) (
|
||||
filter (fn: (fn != "default.nix" && !hasSuffix ".md" "${fn}")) (attrNames (readDir ./.))
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue