seperate out mini

This commit is contained in:
Osman Faruk Bayram 2025-02-16 02:34:33 +03:00
parent a386084890
commit 9ba62e343e
2 changed files with 40 additions and 16 deletions

View file

@ -1,28 +1,16 @@
{ self, lib, pkgs, ... }:
{
imports = [
./mini.nix
];
plugins = {
treesitter = {
enable = true;
# folding = true; # i dont like the way it starts neovim with everything folded
};
mini = {
enable = true;
modules = {
starter = {
header = ''
_ _
___ ___| |__ _ __ ___ __| | _____ __
/ _ \/ __| '_ \| '_ ` _ \ / _` |/ _ \ \ / /
| (_) \__ \ |_) | | | | | || (_| | __/\ V /
\___/|___/_.__/|_| |_| |_(_)__,_|\___| \_/
'';
};
};
};
todo-comments.enable = true;
lsp = {
@ -71,5 +59,24 @@
marksman = { enable = true; };
};
};
lualine = {
enable = true;
};
cmp = {
# TODO read what this does
# basically, it's a completion plugin
enable = true;
autoEnableSources = true;
};
oil.enable = true; # shell scripting
#telescope
telescope = {
enable = true;
};
web-devicons.enable = true; # be concious of this choice
};
}

17
plugins/mini.nix Normal file
View file

@ -0,0 +1,17 @@
{
plugins.mini = {
enable = true;
modules = {
starter = {
header = ''
_ _
___ ___| |__ _ __ ___ __| | _____ __
/ _ \/ __| '_ \| '_ ` _ \ / _` |/ _ \ \ / /
| (_) \__ \ |_) | | | | | || (_| | __/\ V /
\___/|___/_.__/|_| |_| |_(_)__,_|\___| \_/
'';
};
};
};
}