Something went wrong. Try again.
forked from nix-community/nixvim
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102{ pkgs }:{ # Empty configuration empty = { plugins.lazy.enable = true; };
test = { plugins.lazy = with pkgs.vimPlugins; { enable = true;
plugins = [ vim-closer
# Load on specific commands { pkg = vim-dispatch; optional = true; cmd = [ "Dispatch" "Make" "Focus" "Start" ]; }
# Test freeform and case when `pkg` is null. { pkg = LazyVim; } { import = "lazyvim.plugins.extras"; }
# Load on an autocommand event { pkg = vim-matchup; event = "VimEnter"; }
# Load on a combination of conditions: specific filetypes or commands { pkg = ale; name = "w0rp/ale"; ft = [ "sh" "zsh" "bash" "c" "cpp" "cmake" "html" "markdown" "racket" "vim" "tex" ]; cmd = "ALEEnable"; }
# Plugins can have dependencies on other plugins { pkg = completion-nvim; optional = true; dependencies = [ { pkg = vim-vsnip; optional = true; } { pkg = vim-vsnip-integ; optional = true; } ]; }
# Plugins can have post-install/update hooks { pkg = markdown-preview-nvim; cmd = "MarkdownPreview"; }
# Post-install/update hook with neovim command { pkg = nvim-treesitter; opts = { ensure_installed = { }; }; }
# Use dependency and run lua function after load { pkg = gitsigns-nvim; dependencies = [ plenary-nvim ]; config = ''function() require("gitsigns").setup() end''; } ]; }; };
no-packages = { dependencies.git.enable = false; plugins.lazy.enable = true; };}