plugins/no-neck-pain: init
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Update maintainers list / update-maintainers (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Version info (push) Waiting to run
Documentation / Deploy (push) Blocked by required conditions

This commit is contained in:
Chelsea Wilkinson 2025-07-19 13:14:33 +10:00 committed by Austin Horstman
parent cebc5458ce
commit 60556b5df9
2 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "no-neck-pain";
maintainers = [ lib.maintainers.ChelseaWilkinson ];
packPathName = "no-neck-pain.nvim";
package = "no-neck-pain-nvim";
description = " Dead simple yet super extensible zen mode plugin to protect your neck.";
settingsExample = {
width = 80;
autocmds = {
enableOnVimEnter = true;
skipEnteringNoNeckPainBuffer = true;
};
buffers = {
colors = {
background = "catppuccin-frappe";
blend = -0.1;
};
scratchPad = {
enabled = true;
fileName = "notes";
location = "~/";
};
bo = {
filetype = "md";
};
};
};
}

View file

@ -0,0 +1,76 @@
{
empty = {
plugins.no-neck-pain.enable = true;
};
defaults = {
plugins.no-neck-pain = {
enable = true;
settings = {
debug = false;
width = 100;
minSideBufferWidth = 10;
disableOnLastBuffer = false;
killAllBuffersOnDisable = false;
fallbackOnBufferDelete = true;
autocmds = {
enableOnVimEnter = false;
enableOnTabEnter = false;
};
mappings = {
enabled = false;
toggle = "<Leader>np";
};
buffers = {
setNames = false;
colors = {
background = null;
blend = 0;
};
left = {
enabled = true;
};
right = {
enabled = true;
};
};
integrations = {
NvimTree = {
position = "left";
reopen = true;
};
};
};
};
};
example = {
plugins.no-neck-pain.enable = true;
plugins.no-neck-pain.settings = {
width = 80;
autocmds = {
enableOnVimEnter = true;
skipEnteringNoNeckPainBuffer = true;
};
buffers = {
colors = {
background = "catppuccin-frappe";
blend = -0.1;
};
scratchPad = {
enabled = true;
fileName = "notes";
location = "~/";
};
bo = {
filetype = "md";
};
};
};
};
}