chore: update lockfile

This commit is contained in:
Michael Thomas 2024-09-24 13:15:57 -04:00
parent f356dd720d
commit b518a4dc85
9 changed files with 213 additions and 217 deletions

142
flake.lock generated
View File

@ -10,11 +10,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1722339003, "lastModified": 1723293904,
"narHash": "sha256-ZeS51uJI30ehNkcZ4uKqT4ZDARPyqrHADSKAwv5vVCU=", "narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "3f1dae074a12feb7327b4bf43cbac0d124488bb7", "rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -29,11 +29,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1721306136, "lastModified": 1725841979,
"narHash": "sha256-VKPsIGf3/a+RONBipx4lEE4LXG2sdMNkWQu22LNQItg=", "narHash": "sha256-SXYqzpHPuXFR6w/cUKo3VN8XRn6XA2mGbdRXs9oLk6k=",
"owner": "Aylur", "owner": "Aylur",
"repo": "ags", "repo": "ags",
"rev": "344ea72cd3b8d4911f362fec34bce7d8fb37028c", "rev": "aaef50bb2c80ef4b4a359329d72669a95e7c4796",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -71,11 +71,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722609272, "lastModified": 1727003835,
"narHash": "sha256-Kkb+ULEHVmk07AX+OhwyofFxBDpw+2WvsXguUS2m6e4=", "narHash": "sha256-Cfllbt/ADfO8oxbT984MhPHR6FJBaglsr1SxtDGbpec=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "f7142b8024d6b70c66fd646e1d099d3aa5bfec49", "rev": "bd7d1e3912d40f799c5c0f7e5820ec950f1e0b3d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -141,11 +141,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1722555600, "lastModified": 1726153070,
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=", "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d", "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -162,11 +162,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722555600, "lastModified": 1726153070,
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=", "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d", "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -228,11 +228,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721042469, "lastModified": 1726745158,
"narHash": "sha256-6FPUl7HVtvRHCCBQne7Ylp4p+dpP3P/OYuzjztZ4s70=", "narHash": "sha256-D5AegvGoEjt4rkKedmxlSEmC+nNLMBPWFxvmYnVLhjk=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "f451c19376071a90d8c58ab1a953c6e9840527fd", "rev": "4e743a6920eab45e8ba0fbe49dc459f1423a4b74",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -291,11 +291,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720042825, "lastModified": 1726989464,
"narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=", "narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073", "rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -313,11 +313,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722630065, "lastModified": 1726902823,
"narHash": "sha256-QfM/9BMRkCmgWzrPDK+KbgJOUlSJnfX4OvsUupEUZvA=", "narHash": "sha256-Gkc7pwTVLKj4HSvRt8tXNvosl8RS9hrBAEhOjAE0Tt4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "afc892db74d65042031a093adb6010c4c3378422", "rev": "14929f7089268481d86b83ed31ffd88713dcd415",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -328,11 +328,11 @@
}, },
"master": { "master": {
"locked": { "locked": {
"lastModified": 1722891568, "lastModified": 1727139668,
"narHash": "sha256-tm6Nl2v3zqD8uqWA6b0xCLv85KtAWk8/CgrhRAwOIRA=", "narHash": "sha256-0Ri6ealH/fjeFeic73H+EEFtI0RThVl2JVj/+Envt3M=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "feff2a407c08aafeffc6b653f665b891c4751ed2", "rev": "d4efad6031d28ff4859148aca6377e4947430bb4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -349,11 +349,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722609272, "lastModified": 1726742753,
"narHash": "sha256-Kkb+ULEHVmk07AX+OhwyofFxBDpw+2WvsXguUS2m6e4=", "narHash": "sha256-QclpWrIFIg/yvWRiOUaMp1WR+TGUE9tb7RE31xHlxWc=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "f7142b8024d6b70c66fd646e1d099d3aa5bfec49", "rev": "c03f85fa42d68d1056ca1740f3113b04f3addff2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -369,11 +369,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1722821408, "lastModified": 1727055858,
"narHash": "sha256-FMCo35ZmMfvAcae+9neKfu6QzXjU3WL6vW2OFMXx6wI=", "narHash": "sha256-JZldqP3uEzphER/63J8crL9O9uR7g+cNAkb+erRmN48=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "f25962fbd632afea744dc7e6868f24d2e73ccedb", "rev": "de538d220bccc69ad940a53e2b50fef7e05501f2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -384,11 +384,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1718714799, "lastModified": 1725634671,
"narHash": "sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak=", "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e", "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -400,14 +400,14 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1722555339, "lastModified": 1725233747,
"narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=", "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
@ -428,11 +428,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1722791413, "lastModified": 1726969270,
"narHash": "sha256-rCTrlCWvHzMCNcKxPE3Z/mMK2gDZ+BvvpEVyRM4tKmU=", "narHash": "sha256-8fnFlXBgM/uSvBlLWjZ0Z0sOdRBesyNdH0+esxqizGc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8b5b6723aca5a51edf075936439d9cd3947b7b2c", "rev": "23cbb250f3bf4f516a2d0bf03c51a30900848075",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -459,16 +459,16 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1720957393, "lastModified": 1726481836,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", "narHash": "sha256-MWTBH4dd5zIz2iatDb8IkqSjIeFum9jAqkFxgHLdzO4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb", "rev": "20f9370d5f588fb8c72e844c54511cab054b5f40",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -488,11 +488,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1722857280, "lastModified": 1727118532,
"narHash": "sha256-b5Bal3cElLrS9UtDN81ljQpOsbqBe/7CdWlTKhlswus=", "narHash": "sha256-nRzlwdPaSb1UCoqndT52AUNpx9e8wLCEjY28eAkCHIg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "5922a48008e5759acb63a12b2de8348ec512760f", "rev": "47364df49645e89d8aa03aa61c893e12ecbac366",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -503,11 +503,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1722883188, "lastModified": 1727137239,
"narHash": "sha256-IahHa5WnNaiY7UANpVPgEWhQ9Yha9AWVBzckEs4twFw=", "narHash": "sha256-XyyoRkxuwCXiBzYVlBjBrdCQLdIM0rBij4o7xBTeLEM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "f80e85e5a4f92e6aee6fd09c1c704425b48e9f8b", "rev": "85825d78900fa59224f5b0aa2afd77e4fed4c7be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -525,11 +525,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722493084, "lastModified": 1726816132,
"narHash": "sha256-ktjl908zZKWcGdMyz6kX1kHSg7LFFGPYBvTi9FgQleM=", "narHash": "sha256-AbB0lgc0IbzLIxj1O3cosiMNAVQak4KJtvq9q8MjHhs=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "3f5abffa5f28b4ac3c9212c81c5e8d2d22876071", "rev": "7733a39a1321057172d87e6251ded7cdeb67171e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -561,11 +561,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1722824458, "lastModified": 1727058553,
"narHash": "sha256-2k3/geD5Yh8JT1nrGaRycje5kB0DkvQA/OUZoel1bIU=", "narHash": "sha256-tY/UU3Qk5gP/J0uUM4DZ6wo4arNLGAVqLKBotILykfQ=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "a8a937c304e62a5098c6276c9cdf65c19a43b1a5", "rev": "edc5b0f896170f07bd39ad59d6186fcc7859bbb2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -657,11 +657,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722330636, "lastModified": 1726734507,
"narHash": "sha256-uru7JzOa33YlSRwf9sfXpJG+UAV+bnBEYMjrzKrQZFw=", "narHash": "sha256-VUH5O5AcOSxb0uL/m34dDkxFKP6WLQ6y4I1B4+N3L2w=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "768acdb06968e53aa1ee8de207fd955335c754b7", "rev": "ee41a466c2255a3abe6bc50fc6be927cdee57a9f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -675,11 +675,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1722330636, "lastModified": 1727098951,
"narHash": "sha256-uru7JzOa33YlSRwf9sfXpJG+UAV+bnBEYMjrzKrQZFw=", "narHash": "sha256-gplorAc0ISAUPemUNOnRUs7jr3WiLiHZb3DJh++IkZs=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "768acdb06968e53aa1ee8de207fd955335c754b7", "rev": "35dfece10c642eb52928a48bee7ac06a59f93e9a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -690,11 +690,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1722630782, "lastModified": 1726937504,
"narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=", "narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d04953086551086b44b6f3c6b7eeb26294f207da", "rev": "9357f4f23713673f310988025d9dc261c20e70c6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -708,11 +708,11 @@
"systems": "systems_5" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1726560853,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -7,26 +7,28 @@
plugins = { plugins = {
bufferline = { bufferline = {
enable = true; enable = true;
separatorStyle = "thin"; # “slant”, “padded_slant”, “slope”, “padded_slope”, “thick”, “thin” settings.options = {
alwaysShowBufferline = false; always_show_bufferline = false;
diagnostics = "nvim_lsp"; offsets = [
diagnosticsIndicator = '' {
function(_, _, diag) filetype = "neo-tree";
local icons = ${helpers.toLuaObject icons.diagnostics} text = "Neo-tree";
local ret = (diag.error and icons.Error .. diag.error .. " " or "") highlight = "Directory";
.. (diag.warning and icons.Warn .. diag.warning or "") text_align = "left";
return vim.trim(ret) }
end ];
''; diagnostics = "nvim_lsp";
offsets = [ diagnostics_indicator = ''
{ function(_, _, diag)
filetype = "neo-tree"; local icons = ${helpers.toLuaObject icons.diagnostics}
text = "Neo-tree"; local ret = (diag.error and icons.Error .. diag.error .. " " or "")
highlight = "Directory"; .. (diag.warning and icons.Warn .. diag.warning or "")
text_align = "left"; return vim.trim(ret)
} end
]; '';
closeCommand = "Bdelete! %d"; separator_style = "thin"; # “slant”, “padded_slant”, “slope”, “padded_slope”, “thick”, “thin”
close_command = "Bdelete! %d";
};
}; };
}; };
extraPlugins = with pkgs.vimPlugins; [bufdelete-nvim]; extraPlugins = with pkgs.vimPlugins; [bufdelete-nvim];

View File

@ -57,7 +57,7 @@
# ./utils/better-escape.nix # ./utils/better-escape.nix
./utils/flash.nix # better search labels ./utils/flash.nix # better search labels
./utils/flutter-tools.nix ./utils/flutter-tools.nix
./utils/hardtime.nix # hints to get better at vim # ./utils/hardtime.nix # hints to get better at vim
# ./utils/harpoon.nix # better navigation between files & terminals # ./utils/harpoon.nix # better navigation between files & terminals
./utils/illuminate.nix # highlight other uses of current word ./utils/illuminate.nix # highlight other uses of current word
./utils/markdown-preview.nix ./utils/markdown-preview.nix
@ -78,6 +78,7 @@
# ./utils/ultimate-autopair.nix # auto pairs (ew) # ./utils/ultimate-autopair.nix # auto pairs (ew)
./utils/undotree.nix # browse undo history ./utils/undotree.nix # browse undo history
./utils/vim-be-good.nix # game to get better at vim ./utils/vim-be-good.nix # game to get better at vim
./utils/web-devicons.nix # required for other packages
./utils/whichkey.nix # help with keybindings ./utils/whichkey.nix # help with keybindings
./utils/wilder.nix # better wildmenu suggestions ./utils/wilder.nix # better wildmenu suggestions
]; ];

View File

@ -1,24 +1,26 @@
{pkgs, ...}: { {pkgs, ...}: {
plugins.conform-nvim = { plugins.conform-nvim = {
enable = true; enable = true;
notifyOnError = true; settings = {
formattersByFt = { notify_on_error = true;
html = [["prettierd" "prettier"]]; formatters_by_ft = {
css = [["prettierd" "prettier"]]; html = [["prettierd" "prettier"]];
javascript = [["prettierd" "prettier"]]; css = [["prettierd" "prettier"]];
javascriptreact = [["prettierd" "prettier"]]; javascript = [["prettierd" "prettier"]];
typescript = [["prettierd" "prettier"]]; javascriptreact = [["prettierd" "prettier"]];
typescriptreact = [["prettierd" "prettier"]]; typescript = [["prettierd" "prettier"]];
astro = [["prettierd" "prettier"]]; typescriptreact = [["prettierd" "prettier"]];
vue = [["prettierd" "prettier"]]; astro = [["prettierd" "prettier"]];
json = [["prettierd" "prettier"]]; vue = [["prettierd" "prettier"]];
yaml = [["prettierd" "prettier"]]; json = [["prettierd" "prettier"]];
java = ["google-java-format"]; yaml = [["prettierd" "prettier"]];
python = ["black"]; java = ["google-java-format"];
lua = ["stylua"]; python = ["black"];
nix = ["alejandra"]; lua = ["stylua"];
markdown = [["prettierd" "prettier"]]; nix = ["alejandra"];
rust = ["rustfmt"]; markdown = [["prettierd" "prettier"]];
rust = ["rustfmt"];
};
}; };
}; };

View File

@ -29,9 +29,8 @@
}; };
}; };
nil-ls = {enable = true;}; nil-ls = {enable = true;};
tsserver = { ts-ls = {
enable = true; enable = true;
filetypes = ["javascript" "javascriptreact" "typescript" "typescriptreact" "vue"];
extraOptions = { extraOptions = {
settings = { settings = {
javascript = { javascript = {
@ -57,21 +56,13 @@
}; };
}; };
}; };
init_options = {
plugins = [
{
name = "@vue/typescript-plugin";
location = "${pkgs.vue-language-server}/lib/node_modules/@vue/language-server";
languages = ["javascript" "typescript" "vue"];
}
];
};
}; };
}; };
astro = {enable = true;}; astro = {enable = true;};
volar = { volar = {
enable = true; enable = true;
package = pkgs.vue-language-server; package = pkgs.vue-language-server;
tslsIntegration = true;
rootDir = ''require("lspconfig.util").root_pattern("src/App.vue")''; rootDir = ''require("lspconfig.util").root_pattern("src/App.vue")'';
}; };
svelte = {enable = true;}; svelte = {enable = true;};

View File

@ -1,93 +1,93 @@
{icons, ...}: { {icons, ...}: {
plugins.lualine = { plugins.lualine = {
enable = true; enable = true;
alwaysDivideMiddle = true; settings = {
globalstatus = true; options = {
ignoreFocus = ["neo-tree"]; always_divide_middle = true;
extensions = ["fzf"]; globalstatus = true;
theme = "auto"; ignore_focus = ["neo-tree"];
disabledFiletypes = { theme = "auto";
statusline = ["dashboard" "alpha" "starter"]; component_separators = {
}; left = "·";
componentSeparators = { right = "·";
left = "·"; };
right = "·"; section_separators = {
}; left = ""; # 
sectionSeparators = { right = ""; # 
left = ""; #  };
right = ""; # 
};
sections = let
mkColor = color: {
__raw = ''function() return MVim.fg("${color}") end'';
}; };
in { extensions = ["fzf"];
lualine_a = ["mode"]; sections = let
lualine_b = ["branch"]; mkColor = color: {
lualine_c = [ __raw = ''function() return MVim.fg("${color}") end'';
{ };
name = "diagnostics"; in {
extraConfig.symbols = { lualine_a = ["mode"];
error = icons.diagnostics.Error; lualine_b = ["branch"];
warn = icons.diagnostics.Warn; lualine_c = [
info = icons.diagnostics.Info; {
hint = icons.diagnostics.Hint; __unkeyed-1 = "diagnostics";
}; symbols = {
} error = icons.diagnostics.Error;
{ warn = icons.diagnostics.Warn;
name = "filetype"; info = icons.diagnostics.Info;
extraConfig.icon_only = true; hint = icons.diagnostics.Hint;
separator = { };
left = ""; }
right = ""; {
}; __unkeyed-1 = "filetype";
padding = { icon_only = true;
left = 1; separator = {
right = 0; left = "";
}; right = "";
} };
"filename" padding = {
]; left = 1;
right = 0;
};
}
"filename"
];
lualine_x = [ lualine_x = [
# Command # Command
{ {
name.__raw = ''function() return require("noice").api.status.command.get() end''; __unkeyed-1.__raw = ''function() return require("noice").api.status.command.get() end'';
color = mkColor "Statement"; color = mkColor "Statement";
extraConfig = {
cond.__raw = ''function() return package.loaded["noice"] and require("noice").api.status.command.has() end''; cond.__raw = ''function() return package.loaded["noice"] and require("noice").api.status.command.has() end'';
}; }
} # Mode
# Mode {
{ __unkeyed-1.__raw = ''function() return require("noice").api.status.mode.get() end'';
name.__raw = ''function() return require("noice").api.status.mode.get() end''; color = mkColor "Constant";
color = mkColor "Constant";
extraConfig = {
cond.__raw = ''function() return package.loaded["noice"] and require("noice").api.status.mode.has() end''; cond.__raw = ''function() return package.loaded["noice"] and require("noice").api.status.mode.has() end'';
}; }
} ];
]; lualine_y = [
lualine_y = [ {
{ __unkeyed-1 = "progress";
name = "progress"; separator = {
separator = { left = " ";
left = " "; right = " ";
right = " "; };
}; padding = {
padding = { left = 1;
left = 1; right = 1;
right = 1; };
}; }
} {
{ __unkeyed-1 = "location";
name = "location"; padding = {
padding = { left = 0;
left = 0; right = 1;
right = 1; };
}; }
} ];
]; lualine_z = [''" " .. os.date("%I:%M %p"):gsub("0*", "", 1)''];
lualine_z = [''" " .. os.date("%I:%M %p"):gsub("0*", "", 1)'']; };
disabled_filetypes = {
statusline = ["dashboard" "alpha" "starter"];
};
}; };
}; };
} }

View File

@ -2,7 +2,6 @@
plugins.alpha = { plugins.alpha = {
enable = true; enable = true;
theme = null; theme = null;
iconsEnabled = true;
layout = let layout = let
padding = val: { padding = val: {
type = "padding"; type = "padding";

View File

@ -0,0 +1,3 @@
{
plugins.web-devicons.enable = true;
}

View File

@ -2,18 +2,16 @@
# TODO: Implement general mappings # TODO: Implement general mappings
plugins.which-key = { plugins.which-key = {
enable = true; enable = true;
ignoreMissing = false; settings = {
icons = { icons = {
breadcrumb = "»"; breadcrumb = "»";
group = "+"; group = "+";
separator = ""; # ➜ separator = ""; # ➜
}; };
# registrations = { win = {
# "<leader>t" = " Terminal"; border = "none";
# }; wo.winblend = 0;
window = { };
border = "none";
winblend = 0;
}; };
}; };
} }