summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/default.nix
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-07-10 19:02:27 -0400
committertriethyl <triethylammonium@pm.me>2025-07-10 19:02:27 -0400
commit96792596b8b48fdf73d99caab5781394c6fab00c (patch)
tree765a108ac7069c76e392e3fb53e879c644ee3e18 /pkgs/custom-neovim/default.nix
parent4afdfee5c1ce99a09fc70075ca674b961fd3faed (diff)
working on custom neovim
Former-commit-id: 4ce0bec0e948790108ad93d37bd99097537302a6
Diffstat (limited to 'pkgs/custom-neovim/default.nix')
-rw-r--r--pkgs/custom-neovim/default.nix98
1 files changed, 55 insertions, 43 deletions
diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix
index 423fdf9..820aba1 100644
--- a/pkgs/custom-neovim/default.nix
+++ b/pkgs/custom-neovim/default.nix
@@ -1,53 +1,65 @@
{
pkgs,
inputs,
-}:
-inputs.mnw.lib.wrap pkgs {
- neovim = pkgs.neovim-unwrapped;
-
- plugins = with pkgs.vimPlugins; {
- dev.config = {
- pure = ./config;
+}: let
+ plenary-nvim-git = pkgs.vimPlugins.plenary-nvim.overrideAttrs (old: {
+ version = "git";
+ src = pkgs.fetchFromGitHub {
+ owner = "emmanueltouzery";
+ repo = "plenary.nvim";
+ rev = "7750bc895a1f06aa7a940f5aea43671a74143be0";
+ sha256 = "sha256-9Un7ekhBxcnmFE1xjCCFTZ7eqIbmXvQexpnhduAg4M0=";
};
- start = [
- # Core Plugins
- mini-nvim # Ton of small modules.
- nvim-lspconfig # Adds lsp presets.
- actions-preview-nvim # Adds a selector for LSP actions.
- nvim-treesitter.withAllGrammars # All treesitter grammars.
- tabby-nvim # Tab bar.
- lualine-nvim # Status line.
- telescope-nvim # Picker.
- plenary-nvim # General Library.
- alpha-nvim # Dashboard.
- persisted-nvim # Session manager.
+ }); # go back to regular plenary when this commit is merged: https://github.com/nvim-lua/plenary.nvim/pull/649
+in
+ inputs.mnw.lib.wrap pkgs {
+ neovim = pkgs.neovim-unwrapped;
- # Colorschemes
- oxocarbon-nvim # IBM Carbon themes.
- rose-pine # Rose Pine themes.
- kanagawa-nvim # Kanagawa themes.
- everforest # Green themes.
- nordic-nvim # Warm dark nordic theme.
+ plugins = with pkgs.vimPlugins; {
+ dev.config = {
+ pure = ./config;
+ };
+ start = [
+ # Core Plugins
+ mini-nvim # Ton of small modules.
+ nvim-lspconfig # Adds lsp presets.
+ actions-preview-nvim # Adds a selector for LSP actions.
+ nvim-treesitter.withAllGrammars # All treesitter grammars.
+ tabby-nvim # Tab bar.
+ lualine-nvim # Status line.
+ telescope-nvim # Picker.
+ # plenary-nvim # General Library.
+ plenary-nvim-git
+ alpha-nvim # Dashboard.
+ persisted-nvim # Session manager.
- # Miscellaneous Plugins
- presence-nvim # Discord RPC for nvim.
- cellular-automaton-nvim # Fun useless plugin.
- ];
- opt = [];
- };
+ # Colorschemes
+ oxocarbon-nvim # IBM Carbon themes.
+ rose-pine # Rose Pine themes.
+ kanagawa-nvim # Kanagawa themes.
+ everforest # Green themes.
+ nordic-nvim # Warm dark nordic theme.
- luaFiles = [./config/init.lua];
+ # Miscellaneous Plugins
+ presence-nvim # Discord RPC for nvim.
+ cellular-automaton-nvim # Fun useless plugin.
+ ];
+ opt = [];
+ };
- extraBinPath = with pkgs; [
- # LSP Servers
- lua-language-server # Lua LS
- nixd # Nix LS
- marksman # Markdown LS
+ luaFiles = [./config/init.lua];
- # Formatters
- alejandra # Nix Formatter
+ extraBinPath = with pkgs; [
+ # LSP Servers
+ lua-language-server # Lua LS
+ nixd # Nix LS
+ marksman # Markdown LS
- # Extra Tools
- ripgrep
- ];
-}
+ # Formatters
+ alejandra # Nix Formatter
+
+ # Extra Tools
+ ripgrep
+ fd
+ ];
+ }