Compare commits

..

1 commit

Author SHA1 Message Date
af7eb4bf7e
feat: Bufferline 2024-11-26 20:58:00 -08:00
4 changed files with 3 additions and 44 deletions

View file

@ -2,7 +2,7 @@ _: {
autocmds = rec {
## [String] | String -> String -> [String] | String -> String -> String -> AttrSet
mk = event: group': pattern: callback: desc: let
group = "marleyvim_${group'}";
group = "marleyos_${group'}";
in {
inherit event group pattern callback desc;
};

View file

@ -8,7 +8,7 @@
in {
autoGroups =
mapListToAttrs (i: {
name = "marleyvim_${i}";
name = "marleyos_${i}";
value = {clear = true;};
}) [
"checktime"

View file

@ -7,11 +7,6 @@
inherit (lib.marleyvim) icons keys autocmds;
inherit (helpers) mkRaw;
in {
plugins.mini = {
enable = true;
modules.icons = {};
};
plugins.bufferline = {
enable = true;
@ -53,7 +48,7 @@ in {
};
};
autoGroups.marleyvim_bufferline.clear = true;
autoGroups.marleyos_bufferline.clear = true;
autoCmd = [
(autocmds.mk' ["BufAdd" "BufDelete"] "bufferline" (
mkRaw ''

View file

@ -1,36 +0,0 @@
_: {
plugins.lualine = {
enable = true;
luaConfig.pre.__raw = ''
vim.g.lualine_laststatus = vim.o.laststatus
if vim.fn.argc(-1) > 0 then
-- set an empty statusline till lualine loads
vim.o.statusline = " "
else
-- hide the statusline on the starter page
vim.o.laststatus = 0
end
'';
settings = {
options = {
theme = "auto";
globalstatus.__raw = "vim.o.laststatus == 3";
disabled_filetypes.statusline = [
"dashboard"
"alpha"
"ministarter"
"snacks_dashboard"
];
};
sections = {
lualine_a = ["mode"];
lualine_b = ["branch"];
lualine_c = [
];
};
};
};
}