treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -10,8 +10,13 @@
options = {
follow = true;
mimetypes = {
warn = ["audio" "font" "image" "video"];
allowExts = [".ts"];
warn = [
"audio"
"font"
"image"
"video"
];
allowExts = [ ".ts" ];
};
pageIncrement = 5;
pollingRate = 2.0;
@ -19,14 +24,23 @@
showHidden = false;
versionControl = true;
ignore = {
nameExact = [".DS_Store" ".directory" "thumbs.db" ".git"];
nameGlob = [];
pathGlob = [];
nameExact = [
".DS_Store"
".directory"
"thumbs.db"
".git"
];
nameGlob = [ ];
pathGlob = [ ];
};
};
view = {
openDirection = "left";
sortBy = ["is_folder" "ext" "file_name"];
sortBy = [
"is_folder"
"ext"
"file_name"
];
width = 40;
windowOptions = {
cursorline = true;
@ -50,58 +64,70 @@
};
keymap = {
windowManagement = {
quit = ["q"];
bigger = ["+" "="];
smaller = ["-" "_"];
refresh = ["<c-r>"];
quit = [ "q" ];
bigger = [
"+"
"="
];
smaller = [
"-"
"_"
];
refresh = [ "<c-r>" ];
};
rerooting = {
changeDir = ["b"];
changeFocus = ["c"];
changeFocusUp = ["C"];
changeDir = [ "b" ];
changeFocus = [ "c" ];
changeFocusUp = [ "C" ];
};
openFileFolder = {
primary = ["<enter>"];
secondary = ["<tab>" "<2-leftmouse>"];
tertiary = ["<m-enter>" "<middlemouse>"];
vSplit = ["w"];
hSplit = ["W"];
openSys = ["o"];
collapse = ["o"];
primary = [ "<enter>" ];
secondary = [
"<tab>"
"<2-leftmouse>"
];
tertiary = [
"<m-enter>"
"<middlemouse>"
];
vSplit = [ "w" ];
hSplit = [ "W" ];
openSys = [ "o" ];
collapse = [ "o" ];
};
cursor = {
refocus = ["~"];
jumpToCurrent = ["J"];
stat = ["K"];
copyName = ["y"];
copyBasename = ["Y"];
copyRelname = ["<c-y>"];
refocus = [ "~" ];
jumpToCurrent = [ "J" ];
stat = [ "K" ];
copyName = [ "y" ];
copyBasename = [ "Y" ];
copyRelname = [ "<c-y>" ];
};
filtering = {
filter = ["f"];
clearFilter = ["F"];
filter = [ "f" ];
clearFilter = [ "F" ];
};
bookmarks = {
bookmarkGoto = ["m"];
bookmarkGoto = [ "m" ];
};
selecting = {
select = ["s"];
clearSelection = ["S"];
select = [ "s" ];
clearSelection = [ "S" ];
};
fileOperations = {
new = ["a"];
link = ["A"];
rename = ["r"];
toggleExec = ["X"];
copy = ["p"];
cut = ["x"];
delete = ["d"];
trash = ["t"];
new = [ "a" ];
link = [ "A" ];
rename = [ "r" ];
toggleExec = [ "X" ];
copy = [ "p" ];
cut = [ "x" ];
delete = [ "d" ];
trash = [ "t" ];
};
toggles = {
toggleHidden = ["."];
toggleFollow = ["u"];
toggleVersionControl = ["i"];
toggleHidden = [ "." ];
toggleFollow = [ "u" ];
toggleVersionControl = [ "i" ];
};
};
};

View file

@ -7,7 +7,11 @@
plugins.neo-tree = {
enable = true;
sources = ["filesystem" "buffers" "git_status"];
sources = [
"filesystem"
"buffers"
"git_status"
];
addBlankLineAtTop = false;
autoCleanAfterSessionRestore = false;
@ -238,7 +242,7 @@
"bufnr"
];
};
nestingRules = {};
nestingRules = { };
window = {
position = "left";
width = 40;
@ -268,7 +272,9 @@
"<esc>" = "revert_preview";
P = {
command = "toggle_preview";
config = {use_float = true;};
config = {
use_float = true;
};
};
l = "focus_preview";
S = "open_split";
@ -340,10 +346,10 @@
".DS_Store"
"thumbs.db"
];
hideByPattern = [];
alwaysShow = [];
neverShow = [];
neverShowByPattern = [];
hideByPattern = [ ];
alwaysShow = [ ];
neverShow = [ ];
neverShowByPattern = [ ];
};
findByFullPathWords = false;
findCommand = "fd";

View file

@ -13,14 +13,14 @@
openOnSetup = true;
openOnSetupFile = true;
ignoreBufferOnSetup = true;
ignoreFtOnSetup = ["tex"];
ignoreFtOnSetup = [ "tex" ];
autoClose = true;
autoReloadOnWrite = true;
sortBy = "name";
hijackUnnamedBufferWhenOpening = false;
hijackCursor = false;
rootDirs = [];
rootDirs = [ ];
preferStartupRoot = false;
syncRootWithCwd = false;
reloadOnBufenter = false;
@ -32,11 +32,11 @@
updateFocusedFile = {
enable = false;
updateRoot = false;
ignoreList = [];
ignoreList = [ ];
};
systemOpen = {
cmd = "";
args = [];
args = [ ];
};
diagnostics = {
enable = false;
@ -69,7 +69,7 @@
filesystemWatchers = {
enable = true;
debounceDelay = 50;
ignoreDirs = [];
ignoreDirs = [ ];
};
onAttach = "default";
selectPrompts = false;
@ -157,15 +157,20 @@
};
};
};
specialFiles = ["Cargo.toml" "Makefile" "README.md" "readme.md"];
specialFiles = [
"Cargo.toml"
"Makefile"
"README.md"
"readme.md"
];
symlinkDestination = true;
};
filters = {
dotfiles = false;
gitClean = false;
noBuffer = false;
custom = [];
exclude = [];
custom = [ ];
exclude = [ ];
};
actions = {
changeDir = {
@ -175,7 +180,7 @@
};
expandAll = {
maxFolderDiscovery = 300;
exclude = [];
exclude = [ ];
};
filePopup = {
openWinConfig = {
@ -195,8 +200,19 @@
picker = "default";
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
exclude = {
filetype = ["notify" "packer" "qf" "diff" "fugitive" "fugitiveblame"];
buftype = ["nofile" "terminal" "help"];
filetype = [
"notify"
"packer"
"qf"
"diff"
"fugitive"
"fugitiveblame"
];
buftype = [
"nofile"
"terminal"
"help"
];
};
};
removeFile = {
@ -212,7 +228,7 @@
sync = {
open = false;
close = false;
ignore = [];
ignore = [ ];
};
};
notify = {