working NixVim!

This commit is contained in:
vali 2024-05-22 14:04:58 +02:00
commit 9d1dfa44d7
42 changed files with 774 additions and 454 deletions

View file

@ -1,19 +1,22 @@
{
programs.nixvim = {
plugins.alpha = let
nixFlake = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" git@github.com:elythh "
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
];
in {
enable = true;
@ -86,4 +89,5 @@
}
];
};
};
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
programs.nixvim = {
extraPlugins = with pkgs.vimUtils; [
(buildVimPlugin {
pname = "btw.nvim";
@ -17,4 +18,5 @@
text = "I use Neovim (and NixOS, BTW)",
})
'';
};
}

View file

@ -5,11 +5,12 @@
}: let
colors = import ../../colors/${config.theme}.nix {};
in {
programs.nixvim = {
plugins = {
bufferline = {
enable = true;
separatorStyle = "thick"; # “slant”, “padded_slant”, “slope”, “padded_slope”, “thick”, “thin”
highlights = lib.mkIf config.colorschemes.base16.enable {
highlights = {
fill = {
fg = colors.base00;
bg = colors.base00;
@ -172,4 +173,5 @@ in {
};
}
];
};
}

View file

@ -1,5 +1,5 @@
{
plugins.noice = {
programs.nixvim.plugins.noice = {
enable = true;
notify = {
enabled = false;

View file

@ -1,4 +1,5 @@
{
programs.nixvim = {
plugins.notify = {
enable = true;
backgroundColour = "#000000";
@ -42,4 +43,5 @@
return notify(message, level, merged_opts)
end
'';
};
}

View file

@ -1,4 +1,5 @@
{
programs.nixvim = {
plugins.telescope = {
enable = true;
extensions = {
@ -207,4 +208,5 @@
}
}
'';
};
}