working NixVim!
This commit is contained in:
parent
a1562df146
commit
6513d61fa3
42 changed files with 774 additions and 454 deletions
62
flake.lock
generated
62
flake.lock
generated
|
@ -261,11 +261,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716311169,
|
||||
"narHash": "sha256-hCt9zCXnuvra2X0+fQiejAfpr6nNdR1hSfl63UxmVbM=",
|
||||
"lastModified": 1716368878,
|
||||
"narHash": "sha256-lo7AHe+F4+VJshf4AZWtXpnHUvJsrMJxnqCfeIBn/54=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "04c759ffb7af09dbce3c9068c4da7f2f0343da89",
|
||||
"rev": "35e5b442c1602ed30b588addb66d3289f33dfb76",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -282,11 +282,11 @@
|
|||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716272846,
|
||||
"narHash": "sha256-MtL0YhG20cngHsS6PIdpA3bkLnSx6XJBd2V8R9RaEc4=",
|
||||
"lastModified": 1716359173,
|
||||
"narHash": "sha256-pYcjP6Gy7i6jPWrjiWAVV0BCQp+DdmGaI/k65lBb/kM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "063d7e5fac454edd35b7e2cedb6ca9fb1410c79b",
|
||||
"rev": "b6fc5035b28e36a98370d0eac44f4ef3fd323df6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -920,11 +920,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716316196,
|
||||
"narHash": "sha256-ynu+Ii1PTtnz4YdjP2CJbnxaie9aETNAds9lwDzeQus=",
|
||||
"lastModified": 1716365376,
|
||||
"narHash": "sha256-941FKboG8Wc/hb1wvrEEKnC4DwDlSLgrjRL+whgWwUU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "e419ef1873de01b0762f7f1a411994170a4d8cab",
|
||||
"revCount": 4723,
|
||||
"rev": "93fea890433ec11d7a915f5e0466b2e8b513e895",
|
||||
"revCount": 4724,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
|
@ -1276,11 +1276,11 @@
|
|||
"nixpkgs": "nixpkgs_7"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716315695,
|
||||
"narHash": "sha256-F6mniYkD9gZTo8ufpjtKf16+63+xnnpbcfdB0rTGbfM=",
|
||||
"lastModified": 1716366111,
|
||||
"narHash": "sha256-1i1YJjeGBiIzBjZir1pQBwueHjRkpcPEsSrNbiyqMg4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs-wayland",
|
||||
"rev": "2b6362ef6935cf4b1514a4d4b1f29a7dd8a14b36",
|
||||
"rev": "088d7d9e7278f38cd9d01a4099e47fad5b1da66d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1307,11 +1307,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1716137900,
|
||||
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||
"lastModified": 1716293225,
|
||||
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
|
||||
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1355,11 +1355,11 @@
|
|||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1716137900,
|
||||
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||
"lastModified": 1716293225,
|
||||
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
|
||||
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1387,11 +1387,11 @@
|
|||
},
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1716137900,
|
||||
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||
"lastModified": 1716293225,
|
||||
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
|
||||
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1448,11 +1448,11 @@
|
|||
"treefmt-nix": "treefmt-nix_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716294469,
|
||||
"narHash": "sha256-1RdJkVa+axdzLhbeoWJoC3BPODxfx+/Rv7HE+e4CK/Y=",
|
||||
"lastModified": 1716326274,
|
||||
"narHash": "sha256-1LyTvpjb8Cmlg3TRnP56rvqK1WSNa518pD6F0tjgM+U=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "1c9f2a23a6cb9406c35980f4af1a4356f56771e9",
|
||||
"rev": "5d2e01495944dcf7cf7ee53a7074c4010165d756",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1463,11 +1463,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1716316781,
|
||||
"narHash": "sha256-ybuEOdUtk7/X9GjZp72npoSk5GHT+9jpL7aPoXaTu7A=",
|
||||
"lastModified": 1716375775,
|
||||
"narHash": "sha256-2X4zwYV6Xudaqo3IhlwsMAQT+bZHs2nBD8Gv3ENHqTg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "83bfd9ae2490c05fac7381100a13211cd27c3109",
|
||||
"rev": "0ed3297ed7a3d5308db5a57ccd067beaf196e4a7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1832,11 +1832,11 @@
|
|||
"nixpkgs": "nixpkgs_10"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716025334,
|
||||
"narHash": "sha256-ND9F+BJeyKaGZFu94SWIj6HtyZTzWf5qVyp3cI3a7Is=",
|
||||
"lastModified": 1716362227,
|
||||
"narHash": "sha256-o+OVh6c6CW6NNidCbRfdp+9JpERyzrAB/2Eaza0Q6r4=",
|
||||
"owner": "Alexays",
|
||||
"repo": "Waybar",
|
||||
"rev": "8ad7c75d79f76c27a9c6b87460b79d1787c8855b",
|
||||
"rev": "35a9ca476dc2595c28fd1d3a34cc26be4f14077a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
18
modules/editors/nixvim/colors/aquarium.nix
Normal file
18
modules/editors/nixvim/colors/aquarium.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base01 = "#2c2e3e";
|
||||
base00 = "#20202A";
|
||||
base02 = "#3D4059";
|
||||
base03 = "#313449";
|
||||
base04 = "#63718b";
|
||||
base05 = "#ced4df";
|
||||
base06 = "#414560";
|
||||
base07 = "#63718b";
|
||||
base08 = "#ebb9b9";
|
||||
base09 = "#e8cca7";
|
||||
base0A = "#e6dfb8";
|
||||
base0B = "#b1dba4";
|
||||
base0C = "#b8dceb";
|
||||
base0D = "#a3b8ef";
|
||||
base0E = "#f6bbe7";
|
||||
base0F = "#eAc1c1";
|
||||
}
|
18
modules/editors/nixvim/colors/decay.nix
Normal file
18
modules/editors/nixvim/colors/decay.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#171B20";
|
||||
base01 = "#21262e";
|
||||
base02 = "#2b323b";
|
||||
base03 = "#3c4453";
|
||||
base04 = "#485263";
|
||||
base05 = "#b6beca";
|
||||
base06 = "#dee1e6";
|
||||
base07 = "#dee1e6";
|
||||
base08 = "#70A5EB";
|
||||
base09 = "#e9a180";
|
||||
base0A = "#f1cf8a";
|
||||
base0B = "#78DBA9";
|
||||
base0C = "#e26c7c";
|
||||
base0D = "#86aaec";
|
||||
base0E = "#c68aee";
|
||||
base0F = "#9cd1ff";
|
||||
}
|
18
modules/editors/nixvim/colors/everblush.nix
Normal file
18
modules/editors/nixvim/colors/everblush.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#101618";
|
||||
base01 = "#232a2d";
|
||||
base02 = "#2d3437";
|
||||
base03 = "#404749";
|
||||
base04 = "#4f5658";
|
||||
base05 = "#cacaca";
|
||||
base06 = "#d2d2d2";
|
||||
base07 = "#dadada";
|
||||
base08 = "#e57474";
|
||||
base09 = "#e19d5c";
|
||||
base0A = "#e5c76b";
|
||||
base0B = "#8ccf7e";
|
||||
base0C = "#71baf2";
|
||||
base0D = "#67cbe7";
|
||||
base0E = "#c47fd5";
|
||||
base0F = "#ef7d7d";
|
||||
}
|
18
modules/editors/nixvim/colors/everforest.nix
Normal file
18
modules/editors/nixvim/colors/everforest.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#2b3339";
|
||||
base01 = "#323c41";
|
||||
base02 = "#3a4248";
|
||||
base03 = "#868d80";
|
||||
base04 = "#d3c6aa";
|
||||
base05 = "#d3c6aa";
|
||||
base06 = "#e9e8d2";
|
||||
base07 = "#fff9e8";
|
||||
base08 = "#7fbbb3";
|
||||
base09 = "#d699b6";
|
||||
base0A = "#83c092";
|
||||
base0B = "#dbbc7f";
|
||||
base0C = "#e69875";
|
||||
base0D = "#a7c080";
|
||||
base0E = "#e67e80";
|
||||
base0F = "#d699b6";
|
||||
}
|
18
modules/editors/nixvim/colors/gruvbox.nix
Normal file
18
modules/editors/nixvim/colors/gruvbox.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#1e2122";
|
||||
base01 = "#2c2f30";
|
||||
base02 = "#36393a";
|
||||
base03 = "#404344";
|
||||
base04 = "#d4be98";
|
||||
base05 = "#c0b196";
|
||||
base06 = "#c3b499";
|
||||
base07 = "#c7b89d";
|
||||
base08 = "#ec6b64";
|
||||
base09 = "#e78a4e";
|
||||
base0A = "#e0c080";
|
||||
base0B = "#a9b665";
|
||||
base0C = "#86b17f";
|
||||
base0D = "#7daea3";
|
||||
base0E = "#d3869b";
|
||||
base0F = "#d65d0e";
|
||||
}
|
18
modules/editors/nixvim/colors/jellybeans.nix
Normal file
18
modules/editors/nixvim/colors/jellybeans.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#151515";
|
||||
base01 = "#1c1c1c";
|
||||
base02 = "#404040";
|
||||
base03 = "#888888";
|
||||
base04 = "#ddddbf";
|
||||
base05 = "#e8e8d3";
|
||||
base06 = "#eeeede";
|
||||
base07 = "#f1f1e5";
|
||||
base08 = "#cf6a4c";
|
||||
base09 = "#d8ad4c";
|
||||
base0A = "#d8ad4c";
|
||||
base0B = "#99ad6a";
|
||||
base0C = "#71b9f8";
|
||||
base0D = "#597bc5";
|
||||
base0E = "#c6b6ee";
|
||||
base0F = "#d8ad4c";
|
||||
}
|
18
modules/editors/nixvim/colors/mountain.nix
Normal file
18
modules/editors/nixvim/colors/mountain.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#0f0f0f";
|
||||
base01 = "#151515";
|
||||
base02 = "#191919";
|
||||
base03 = "#323232";
|
||||
base04 = "#535353";
|
||||
base05 = "#f0f0f0";
|
||||
base06 = "#d8d8d8";
|
||||
base07 = "#414141";
|
||||
base08 = "#ac8a8c";
|
||||
base09 = "#d3d0ad";
|
||||
base0A = "#ACA98A";
|
||||
base0B = "#8aac8b";
|
||||
base0C = "#9EC3C4";
|
||||
base0D = "#8fb4b5";
|
||||
base0E = "#C49EC4";
|
||||
base0F = "#9d9a7b";
|
||||
}
|
18
modules/editors/nixvim/colors/paradise.nix
Normal file
18
modules/editors/nixvim/colors/paradise.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#151515";
|
||||
base01 = "#1F1F1F";
|
||||
base02 = "#2E2E2E";
|
||||
base03 = "#424242";
|
||||
base04 = "#BBB6B6";
|
||||
base05 = "#E8E3E3";
|
||||
base06 = "#E8E3E3";
|
||||
base07 = "#E8E3E3";
|
||||
base08 = "#B66467";
|
||||
base09 = "#D9BC8C";
|
||||
base0A = "#D9BC8C";
|
||||
base0B = "#8C977D";
|
||||
base0C = "#8AA6A2";
|
||||
base0D = "#8DA3B9";
|
||||
base0E = "#A988B0";
|
||||
base0F = "#BBB6B6";
|
||||
}
|
18
modules/editors/nixvim/colors/tokyonight.nix
Normal file
18
modules/editors/nixvim/colors/tokyonight.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
base00 = "#1A1B26";
|
||||
base01 = "#3b4261";
|
||||
base02 = "#3b4261";
|
||||
base03 = "#545c7e";
|
||||
base04 = "#565c64";
|
||||
base05 = "#a9b1d6";
|
||||
base06 = "#bbc5f0";
|
||||
base07 = "#c0caf5";
|
||||
base08 = "#f7768e";
|
||||
base09 = "#ff9e64";
|
||||
base0A = "#e0af68";
|
||||
base0B = "#9ece6a";
|
||||
base0C = "#2ac3de";
|
||||
base0D = "#7aa2f7";
|
||||
base0E = "#9d7cd8";
|
||||
base0F = "#9abdf5";
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
_:{
|
||||
imports = [./nixvim.nix ];
|
||||
_: {
|
||||
imports = [./nixvim.nix];
|
||||
}
|
||||
|
|
121
modules/editors/nixvim/highlight.nix
Normal file
121
modules/editors/nixvim/highlight.nix
Normal file
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
colors = import ./colors/${config.theme}.nix {};
|
||||
in {
|
||||
config = lib.mkIf config.colorschemes.base16.enable {
|
||||
highlight = {
|
||||
CursorLine = {
|
||||
fg = "none";
|
||||
bg = "none";
|
||||
};
|
||||
CursorLineNr = {
|
||||
fg = "none";
|
||||
bg = "none";
|
||||
};
|
||||
|
||||
AlphaHeader = {
|
||||
fg = colors.base0E;
|
||||
bg = "none";
|
||||
};
|
||||
|
||||
StatusNormal = {
|
||||
bg = "none";
|
||||
fg = "none";
|
||||
};
|
||||
|
||||
TelescopePromptBorder = {
|
||||
fg = colors.base01;
|
||||
bg = colors.base01;
|
||||
};
|
||||
TelescopePromptNormal = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
TelescopePromptPrefix = {
|
||||
fg = colors.base08;
|
||||
bg = colors.base01;
|
||||
};
|
||||
|
||||
TelescopeSelection = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
|
||||
Pmenu = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
PmenuSbar = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
PmenuThumb = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
PmenuSel = {
|
||||
fg = "none";
|
||||
bg = colors.base02;
|
||||
};
|
||||
|
||||
CmpItemAbbrMatch = {
|
||||
fg = colors.base05;
|
||||
bg = "none";
|
||||
};
|
||||
CmpItemAbbrMatchFuzzy = {
|
||||
fg = colors.base05;
|
||||
bg = "none";
|
||||
};
|
||||
CmpItemAbbr = {
|
||||
fg = colors.base03;
|
||||
bg = "none";
|
||||
};
|
||||
CmpItemKind = {
|
||||
fg = colors.base0E;
|
||||
bg = "none";
|
||||
};
|
||||
CmpItemMenu = {
|
||||
fg = colors.base0E;
|
||||
bg = "none";
|
||||
};
|
||||
CmpItemKindSnippet = {
|
||||
fg = colors.base0E;
|
||||
bg = "none";
|
||||
};
|
||||
|
||||
VertSplit = {
|
||||
fg = colors.base01;
|
||||
bg = "none";
|
||||
};
|
||||
FloatBorder = {
|
||||
fg = colors.base01;
|
||||
bg = colors.base01;
|
||||
};
|
||||
NormalFloat = {
|
||||
fg = "none";
|
||||
bg = colors.base01;
|
||||
};
|
||||
|
||||
LineNr = {
|
||||
fg = colors.base03;
|
||||
bg = "none";
|
||||
};
|
||||
|
||||
NoiceCmdlinePopup = {
|
||||
fg = colors.base04;
|
||||
bg = colors.base01;
|
||||
};
|
||||
NoiceCmdlinePopupBorder = {
|
||||
fg = colors.base01;
|
||||
bg = colors.base01;
|
||||
};
|
||||
NoiceCmdlinePopupBorderSearch = {
|
||||
fg = colors.base01;
|
||||
bg = colors.base01;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
programs.nixvim = {
|
||||
globals.mapleader = " ";
|
||||
|
||||
keymaps = [
|
||||
|
@ -7,20 +7,20 @@ programs.nixvim = {
|
|||
mode = "n";
|
||||
key = "<leader>f";
|
||||
action = "+find/file";
|
||||
desc = "Find a file";
|
||||
options.desc = "Find a file";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>s";
|
||||
action = "+search";
|
||||
desc = "Search in your file";
|
||||
options.desc = "Search in your file";
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>q";
|
||||
action = "+quit/session";
|
||||
desc = "Quit the current session";
|
||||
options.desc = "Quit the current session";
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -404,5 +404,5 @@ programs.nixvim = {
|
|||
vim.wo.wrap = not vim.wo.wrap
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
let cfg = config.modules.editors.nixvim;
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.editors.nixvim;
|
||||
in {
|
||||
options.modules.editors.nixvim.enable = lib.mkEnableOption "nixvim";
|
||||
imports = [
|
||||
#./keys.nix
|
||||
./keys.nix
|
||||
./settings.nix
|
||||
./plug/completion/cmp.nix
|
||||
#./plug/completion/copilot-cmp.nix
|
||||
|
@ -30,7 +34,7 @@ in {
|
|||
./plug/treesitter/treesitter-textobjects.nix
|
||||
./plug/treesitter/treesitter.nix
|
||||
|
||||
#./plug/ui/alpha.nix
|
||||
./plug/ui/alpha.nix
|
||||
./plug/ui/btw.nix
|
||||
./plug/ui/bufferline.nix
|
||||
./plug/ui/noice.nix
|
||||
|
@ -38,7 +42,7 @@ in {
|
|||
./plug/ui/telescope.nix
|
||||
|
||||
./plug/utils/comment.nix
|
||||
./plug/utils/copilot.nix
|
||||
#./plug/utils/copilot.nix
|
||||
./plug/utils/flash.nix
|
||||
./plug/utils/hardtime.nix
|
||||
#./plug/utils/harpoon.nix
|
||||
|
@ -49,15 +53,18 @@ in {
|
|||
./plug/utils/undotree.nix
|
||||
./plug/utils/ufo.nix
|
||||
./plug/utils/whichkey.nix
|
||||
|
||||
];
|
||||
options = {
|
||||
theme = lib.mkOption {
|
||||
default = "gruvbox";
|
||||
type = lib.types.enum ["paradise" "decay" "mountain" "tokyonight" "everforest" "everblush" "jellybeans" "aquarium" "gruvbox"];
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
colorschemes.gruvbox = {
|
||||
enable = true;
|
||||
settings.transparent_mode = true;
|
||||
};
|
||||
};
|
||||
programs.nixvim.enable = true;
|
||||
theme = "gruvbox";
|
||||
programs.nixvim.extraConfigLua = ''
|
||||
_G.theme = "${config.theme}"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
programs.nixvim.plugins = {
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
cmp-emoji = {enable = true;};
|
||||
cmp = {
|
||||
enable = true;
|
||||
|
@ -117,4 +118,5 @@
|
|||
-- end
|
||||
-- }
|
||||
}) '';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
programs.nixvim.plugins.gitsigns = {
|
||||
programs.nixvim = {
|
||||
plugins.gitsigns = {
|
||||
enable = true;
|
||||
settings = {
|
||||
trouble = true;
|
||||
|
@ -73,4 +74,5 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.none-ls = {
|
||||
enable = true;
|
||||
enableLspFormat = true;
|
||||
|
@ -47,4 +48,5 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.trouble = {
|
||||
programs.nixvim.plugins.trouble = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
plugins.luasnip = {
|
||||
programs.nixvim.plugins.luasnip = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
enable_autosnippets = true;
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
plugins.lualine = {
|
||||
programs.nixvim.plugins.lualine = {
|
||||
enable = true;
|
||||
globalstatus = true;
|
||||
disabledFiletypes = {
|
||||
statusline = ["dashboard" "alpha" "starter"];
|
||||
};
|
||||
theme = {
|
||||
normal = {
|
||||
a = {
|
||||
bg = "#b4befe";
|
||||
fg = "#1c1d21";
|
||||
};
|
||||
b = {
|
||||
bg = "nil";
|
||||
};
|
||||
c = {
|
||||
bg = "nil";
|
||||
};
|
||||
z = {
|
||||
bg = "nil";
|
||||
};
|
||||
y = {
|
||||
bg = "nil";
|
||||
};
|
||||
};
|
||||
};
|
||||
# theme = {
|
||||
# normal = {
|
||||
# a = {
|
||||
# bg = "#b4befe";
|
||||
# fg = "#1c1d21";
|
||||
# };
|
||||
# b = {
|
||||
# bg = "nil";
|
||||
# };
|
||||
# c = {
|
||||
# bg = "nil";
|
||||
# };
|
||||
# z = {
|
||||
# bg = "nil";
|
||||
# };
|
||||
# y = {
|
||||
# bg = "nil";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
sections = {
|
||||
lualine_a = [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.treesitter-context = {
|
||||
programs.nixvim.plugins.treesitter-context = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.treesitter-textobjects = {
|
||||
programs.nixvim.plugins.treesitter-textobjects = {
|
||||
enable = false;
|
||||
select = {
|
||||
enable = true;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
};
|
||||
};
|
||||
in {
|
||||
programs.nixvim = {
|
||||
filetype.extension.liq = "liquidsoap";
|
||||
filetype.extension.nu = "nu";
|
||||
|
||||
|
@ -41,4 +42,5 @@ in {
|
|||
filetype = "nu",
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.alpha = let
|
||||
nixFlake = [
|
||||
" "
|
||||
" ▓█████ ██▓ ▓██ ██▓▄▄▄█████▓ ██░ ██ "
|
||||
" ▓█ ▀ ▓██▒ ▒██ ██▒▓ ██▒ ▓▒▓██░ ██▒ "
|
||||
" ▒███ ▒██░ ▒██ ██░▒ ▓██░ ▒░▒██▀▀██░ "
|
||||
" ▒▓█ ▄ ▒██░ ░ ▐██▓░░ ▓██▓ ░ ░▓█ ░██ "
|
||||
" ░▒████▒░██████▒ ░ ██▒▓░ ▒██▒ ░ ░▓█▒░██▓ "
|
||||
" ░░ ▒░ ░░ ▒░▓ ░ ██▒▒▒ ▒ ░░ ▒ ░░▒░▒ "
|
||||
" ░ ░ ░░ ░ ▒ ░▓██ ░▒░ ░ ▒ ░▒░ ░ "
|
||||
" ░ ░ ░ ▒ ▒ ░░ ░ ░ ░░ ░ "
|
||||
" ░ ░ ░ ░░ ░ ░ ░ ░ "
|
||||
" ░ ░ "
|
||||
" "
|
||||
" git@github.com:elythh "
|
||||
"⠄⠄⠄⢰⣧⣼⣯⠄⣸⣠⣶⣶⣦⣾⠄⠄⠄⠄⡀⠄⢀⣿⣿⠄⠄⠄⢸⡇⠄⠄"
|
||||
"⠄⠄⠄⣾⣿⠿⠿⠶⠿⢿⣿⣿⣿⣿⣦⣤⣄⢀⡅⢠⣾⣛⡉⠄⠄⠄⠸⢀⣿⠄"
|
||||
"⠄⠄⢀⡋⣡⣴⣶⣶⡀⠄⠄⠙⢿⣿⣿⣿⣿⣿⣴⣿⣿⣿⢃⣤⣄⣀⣥⣿⣿⠄"
|
||||
"⠄⠄⢸⣇⠻⣿⣿⣿⣧⣀⢀⣠⡌⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⣿⣿⣿⠄"
|
||||
"⠄⢀⢸⣿⣷⣤⣤⣤⣬⣙⣛⢿⣿⣿⣿⣿⣿⣿⡿⣿⣿⡍⠄⠄⢀⣤⣄⠉⠋⣰"
|
||||
"⠄⣼⣖⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⢇⣿⣿⡷⠶⠶⢿⣿⣿⠇⢀⣤"
|
||||
"⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣿⡇⣿⣿⣿⣿⣿⣿⣷⣶⣥⣴⣿⡗"
|
||||
"⢀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠄"
|
||||
"⢸⣿⣦⣌⣛⣻⣿⣿⣧⠙⠛⠛⡭⠅⠒⠦⠭⣭⡻⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠄"
|
||||
"⠘⣿⣿⣿⣿⣿⣿⣿⣿⡆⠄⠄⠄⠄⠄⠄⠄⠄⠹⠈⢋⣽⣿⣿⣿⣿⣵⣾⠃⠄"
|
||||
"⠄⠘⣿⣿⣿⣿⣿⣿⣿⣿⠄⣴⣿⣶⣄⠄⣴⣶⠄⢀⣾⣿⣿⣿⣿⣿⣿⠃⠄⠄"
|
||||
"⠄⠄⠈⠻⣿⣿⣿⣿⣿⣿⡄⢻⣿⣿⣿⠄⣿⣿⡀⣾⣿⣿⣿⣿⣛⠛⠁⠄⠄⠄"
|
||||
"⠄⠄⠄⠄⠈⠛⢿⣿⣿⣿⠁⠞⢿⣿⣿⡄⢿⣿⡇⣸⣿⣿⠿⠛⠁⠄⠄⠄⠄⠄"
|
||||
"⠄⠄⠄⠄⠄⠄⠄⠉⠻⣿⣿⣾⣦⡙⠻⣷⣾⣿⠃⠿⠋⠁⠄⠄⠄⠄⠄⢀⣠⣴"
|
||||
"⣿⣿⣿⣶⣶⣮⣥⣒⠲⢮⣝⡿⣿⣿⡆⣿⡿⠃⠄⠄⠄⠄⠄⠄⠄⣠⣴⣿⣿⣿"
|
||||
];
|
||||
in {
|
||||
enable = true;
|
||||
|
@ -86,4 +89,5 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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)",
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 {
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.noice = {
|
||||
programs.nixvim.plugins.noice = {
|
||||
enable = true;
|
||||
notify = {
|
||||
enabled = false;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.notify = {
|
||||
enable = true;
|
||||
backgroundColour = "#000000";
|
||||
|
@ -42,4 +43,5 @@
|
|||
return notify(message, level, merged_opts)
|
||||
end
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
extensions = {
|
||||
|
@ -207,4 +208,5 @@
|
|||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.comment = {
|
||||
programs.nixvim.plugins.comment = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
hash = "sha256-Q+g81BQVQTY5J2c2ZWB7bjJLuNSdI0PAan+75YJ7mI0=";
|
||||
};
|
||||
in {
|
||||
programs.nixvim = {
|
||||
extraPlugins = with pkgs.vimUtils; [
|
||||
(buildVimPlugin {
|
||||
pname = "copilotchat";
|
||||
|
@ -53,4 +54,5 @@ in {
|
|||
action = "<cmd>CopilotChatCommit<cr>";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.flash = {
|
||||
enable = true;
|
||||
labels = "asdfghjklqwertyuiopzxcvbnm";
|
||||
|
@ -53,4 +54,5 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
programs.nixvim = {
|
||||
extraPlugins = with pkgs.vimUtils; [
|
||||
(buildVimPlugin {
|
||||
pname = "grapple.nvim";
|
||||
|
@ -17,4 +18,5 @@
|
|||
scope = "git_branch",
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.hardtime = {
|
||||
programs.nixvim.plugins.hardtime = {
|
||||
enable = true;
|
||||
enabled = true;
|
||||
disableMouse = true;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.harpoon = {
|
||||
programs.nixvim.plugins.harpoon = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
keymapsSilent = true;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.illuminate = {
|
||||
programs.nixvim.plugins.illuminate = {
|
||||
enable = true;
|
||||
underCursor = false;
|
||||
filetypesDenylist = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.nvim-autopairs = {
|
||||
programs.nixvim.plugins.nvim-autopairs = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.oil = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -47,4 +48,5 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.nvim-ufo = {
|
||||
programs.nixvim.plugins.nvim-ufo = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.undotree = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -17,4 +18,5 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
plugins.which-key = {
|
||||
programs.nixvim.plugins.which-key = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ in {
|
|||
applications = 0.9;
|
||||
popups = 0.9;
|
||||
desktop = 0.9;
|
||||
terminal = 0.9;
|
||||
terminal = 0.85;
|
||||
};
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue