Update to (somewhat?) dendritic pattern

Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
This commit is contained in:
Weckyy702
2026-03-15 15:04:47 +01:00
parent 5f41ff2b1b
commit e34b5ecce3
81 changed files with 1413 additions and 1073 deletions

View File

@@ -0,0 +1,50 @@
{ ... }: {
opts = {
# Expand tabs to 4 spaces
shiftwidth = 4;
softtabstop = 4;
expandtab = true;
signcolumn = "yes:3";
# automatically indent and try to be smart about it
autoindent = true;
smartindent = true;
# Relative line numbers
number = true;
relativenumber = true;
# See search result as you type
inccommand = "split";
# Visualize whitespace
list = true;
listchars = {
tab = "» ";
trail = "·";
nbsp = "";
};
# Show which line the cursor is on
cursorline = true;
# Keep the cursor somewhat centered on the screen
scrolloff = 25;
# Ask if operations would fail due to unsaved buffers
confirm = true;
# ignore case in search unless multiple capital case letter have been typed
smartcase = true;
ignorecase = true;
completeopt = "menu,menuone,noselect";
# Persistent undos :)
undofile = true;
# enable resize by mouse
mouse = "n";
};
}