diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-16 20:20:21 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-16 20:20:21 -0400 |
| commit | 58ceb817bb6ba195d1189160878f318f3bcda0ef (patch) | |
| tree | 6c17c013c92af8c6e410bb1d4fe3a2557841d0d3 /pkgs/custom-neovim/default.nix | |
| parent | 94980b0be13a690128992d98a2ed5db3ab592642 (diff) | |
neovim: restarted config
Diffstat (limited to 'pkgs/custom-neovim/default.nix')
| -rw-r--r-- | pkgs/custom-neovim/default.nix | 112 |
1 files changed, 34 insertions, 78 deletions
diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix index 7a75368..f5d63e3 100644 --- a/pkgs/custom-neovim/default.nix +++ b/pkgs/custom-neovim/default.nix @@ -1,83 +1,39 @@ { pkgs, inputs, -}: let - git-plugins = import ./git-plugins.nix {inherit pkgs;}; -in - inputs.mnw.lib.wrap pkgs { - neovim = pkgs.neovim-unwrapped; - 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. - snacks-nvim # Many small modules. - auto-session # Automatic session manager. - nvim-ts-autotag # Autopair HTML tags. - gitsigns-nvim # Git signcolumn. - git-plugins.namu-nvim-git # LSP and colorscheme picker. - vim-nix # Indenting for nix files. - comment-nvim # Advanced commenting. - fidget-nvim # Simple notification UI - focus-nvim # Automatic split resizer and manager. - render-markdown-nvim # Render markdown fancily. - incline-nvim # Puts the filename in the winbar. - - git-plugins.profile-nvim-git - - # Completion - nvim-cmp # Completer. - cmp-buffer - cmp-path - cmp_luasnip - cmp-nvim-lsp - luasnip # Snippet manager. - friendly-snippets # Snippet collection. - - # Colorschemes - oxocarbon-nvim # IBM Carbon themes. - rose-pine # Rose Pine themes. - kanagawa-nvim # Kanagawa inspired themes. - everforest # Green themes. - nordic-nvim # Cool dark nordic theme. - tokyonight-nvim - nightfox-nvim # Varied colorscheme collection. - - # Miscellaneous Plugins - presence-nvim # Discord RPC for nvim. - cellular-automaton-nvim # Fun useless plugin. - vim-wakatime # For hack club challenge. - hardtime-nvim # Break bad vim habits. - ]; - opt = []; +}: +inputs.mnw.lib.wrap pkgs { + neovim = pkgs.neovim-unwrapped; + plugins = with pkgs.vimPlugins; { + dev.config = { + pure = ./config; + impure = "/home/culsans/Sync/setup/pkgs/custom-neovim/config"; }; - - luaFiles = [./config/init.lua]; - - extraBinPath = with pkgs; [ - # LSP Servers - lua-language-server # Lua LS - nixd # Nix LS - nil - marksman # Markdown LS - - # Formatters - alejandra # Nix Formatter - - # Extra Tools - ripgrep - fd - cliphist - lazygit - luajitPackages.jsregexp - gcc - - # Temporary - wakatime-cli + start = [ + # Not lazy loaded. + lz-n # Lazy loader + nvim-treesitter.withAllGrammars # All treesitter grammars + ]; + opt = [ + # Lazy loaded. + mini-clue + mini-pick + mini-statusline + mini-files + mini-extra + comment-nvim + vim-nix + nightfox-nvim ]; - } + }; + luaFiles = [./config/init.lua]; + extraBinPath = with pkgs; [ + # LSP Servers + lua-language-server + + # Extra Utils + ripgrep + gcc + fd + ]; +} |
