plugins/origami: init

This commit is contained in:
Gaetan Lepage 2025-05-02 00:47:09 +02:00
parent cd30817b21
commit 98644a34ab
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "origami";
packPathName = "nvim-origami";
package = "nvim-origami";
maintainers = [ lib.maintainers.GaetanLepage ];
# Ensures `nvim-ufo` (if enabled) is loaded before `origami`
# Default priority is 1000, mkBefore is 500 and mkAfter is 1500
configLocation = lib.mkOrder 1100 "extraConfigLua";
settingsExample = {
keepFoldsAcrossSessions = true;
pauseFoldsOnSearch = true;
setupFoldKeymaps = false;
};
}