From 4f7b1e943578b01aea2bf270a62e074c8e3cebdf Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sun, 15 Dec 2024 21:02:49 +0100 Subject: [PATCH] neovim: Lazy load some plugins --- neovim/default.nix | 3 +++ neovim/notes.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/neovim/default.nix b/neovim/default.nix index cfa76b9..a1b83b5 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -47,6 +47,8 @@ }; }; + plugins.lz-n.enable = true; + autoGroups.BigFileOptimizer = { }; autoCmd = [ { @@ -339,6 +341,7 @@ plugins.trouble = { enable = true; + lazyLoad.settings.cmd = "Trouble"; }; plugins.noice = { diff --git a/neovim/notes.nix b/neovim/notes.nix index f169cd6..536ddd0 100644 --- a/neovim/notes.nix +++ b/neovim/notes.nix @@ -33,6 +33,8 @@ plugins.markview = { enable = true; + + lazyLoad.settings.ft = "markdown"; }; plugins.image = {