Compare commits

..

1 commit

Author SHA1 Message Date
prunebutt
72eb839467 update astroui and astrocore 2025-02-08 13:42:52 +01:00
9 changed files with 84 additions and 77 deletions

74
flake.lock generated
View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728330715, "lastModified": 1735644329,
"narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=", "narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
"owner": "numtide", "owner": "numtide",
"repo": "devshell", "repo": "devshell",
"rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef", "rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,12 +23,12 @@
}, },
"flake-compat": { "flake-compat": {
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1733328505,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 57, "revCount": 69,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -43,11 +43,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730504689, "lastModified": 1738453229,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", "narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "506278e768c2a08bec68eb62932193e341f55c90", "rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -84,18 +84,14 @@
"nixpkgs": [ "nixpkgs": [
"nixvim", "nixvim",
"nixpkgs" "nixpkgs"
],
"nixpkgs-stable": [
"nixvim",
"nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1732021966, "lastModified": 1737465171,
"narHash": "sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE=", "narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c", "rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -134,11 +130,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732303962, "lastModified": 1738841109,
"narHash": "sha256-5Umjb5AdtxV5jSJd5jxoCckh5mlg+FBQDsyAilu637g=", "narHash": "sha256-sEgE3nifaRU5gfAx33ds0tx/j+qM0/5/bHopv/w6c0c=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8cf9cb2ee78aa129e5b8220135a511a2be254c0c", "rev": "f99c704fe3a4cf8d72b2d568ec80bc38be1a9407",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -183,11 +179,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732324260, "lastModified": 1738743987,
"narHash": "sha256-0xzQvoId/P008QkTSAdFVv465P9rL9nYkIOWXL5pdsY=", "narHash": "sha256-O3bnAfsObto6l2tQOmQlrO6Z2kD6yKwOWfs7pA0CpOc=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "698a62c628c2ec423aa770d8ec0e1d0bcf4fca1a", "rev": "ae406c04577ff9a64087018c79b4fdc02468c87c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -205,11 +201,11 @@
"nmt": "nmt" "nmt": "nmt"
}, },
"locked": { "locked": {
"lastModified": 1729445390, "lastModified": 1734904675,
"narHash": "sha256-TxJ7RZLlBkKWZos1ai3eWIH0fBq1G6SVE+q3dW+0qRU=", "narHash": "sha256-MoYUUxiLcNwC9woNLoCfXfzcCAHE310DqDcJd/GjM98=",
"owner": "Gerschtli", "owner": "Gerschtli",
"repo": "nix-formatter-pack", "repo": "nix-formatter-pack",
"rev": "9f4bcf647cad2edafda7e1143071e0daf37cbc41", "rev": "19e8cb01a078fea1e6cf824097978c41af74e24b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -220,11 +216,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1732521221, "lastModified": 1738680400,
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=", "narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d", "rev": "799ba5bffed04ced7067a91798353d360788b30d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -249,11 +245,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1732629460, "lastModified": 1738917768,
"narHash": "sha256-Cr8EyxEFPbVmX6p8LsslFBjDEuVlFNPILrWlwbBNnNA=", "narHash": "sha256-mQ3ysHsEVHVjX5EzRzYG5hrDY0cqP6O7kNlCg6wFA90=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "8b19d154823619af7ced464185e8d13ec80a758b", "rev": "f2f70b4376874b74d9bae0df2d4bfd5292c1499e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -304,11 +300,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1731936508, "lastModified": 1738508923,
"narHash": "sha256-z0BSSf78LkxIrrFXZYmCoRRAxAmxMUKpK7CyxQRvkZI=", "narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "fe07070f811b717a4626d01fab714a87d422a9e1", "rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -347,11 +343,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732292307, "lastModified": 1738680491,
"narHash": "sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw=", "narHash": "sha256-8X7tR3kFGkE7WEF5EXVkt4apgaN85oHZdoTGutCFs6I=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "705df92694af7093dfbb27109ce16d828a79155f", "rev": "64dbb922d51a42c0ced6a7668ca008dded61c483",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
version = "1.5.0"; version = "1.11.0";
in in
pkgs.vimUtils.buildVimPlugin { pkgs.vimUtils.buildVimPlugin {
inherit version; inherit version;
@ -12,7 +12,7 @@ pkgs.vimUtils.buildVimPlugin {
owner = "astronvim"; owner = "astronvim";
repo = "astrocore"; repo = "astrocore";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-KKNglNd3S8E11CMAS6E3vhN4oZoRh0u3rjkgHiIGozI="; hash = "sha256-MXVr0tJEgkghjchC3yhJAItJYpvw0z9xaZzIk1Czepk=";
}; };
patches = [ patches = [

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
version = "2.1.4"; version = "2.6.0";
in in
pkgs.vimUtils.buildVimPlugin { pkgs.vimUtils.buildVimPlugin {
inherit version; inherit version;
@ -12,6 +12,10 @@ pkgs.vimUtils.buildVimPlugin {
owner = "astronvim"; owner = "astronvim";
repo = "astroui"; repo = "astroui";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-nmcqJq4L6XFrgrORan5x+WCwSfU3FC4D6Zux45YnIUQ="; hash = "sha256-kygFyXSIXQENWxGKgJAf5Aid5kfKWMsqTxckXbI6gyE=";# "sha256-nmcqJq4L6XFrgrORan5x+WCwSfU3FC4D6Zux45YnIUQ=";
}; };
buildInputs = [
pkgs.vimPlugins.astrocore
];
} }

View file

@ -101,13 +101,13 @@
servers = { servers = {
bashls.enable = true; bashls.enable = true;
cssls.enable = true; cssls.enable = true;
docker-compose-language-service.enable = true; docker_compose_language_service.enable = true;
dockerls.enable = true; dockerls.enable = true;
helm-ls.enable = true; helm_ls.enable = true;
html.enable = true; html.enable = true;
jsonls.enable = true; jsonls.enable = true;
lua-ls.enable = true; lua_ls.enable = true;
nginx-language-server.enable = true; nginx_language_server.enable = true;
nixd.enable = true; nixd.enable = true;
pyright.enable = true; pyright.enable = true;
yamlls.enable = true; yamlls.enable = true;
@ -116,11 +116,11 @@
texlab.enable = true; texlab.enable = true;
lemminx.enable = true; # XML lemminx.enable = true; # XML
java-language-server.enable = false; java_language_server.enable = false;
zls.enable = false; zls.enable = false;
rust-analyzer.enable = false; rust_analyzer.enable = false;
typos-lsp = { typos_lsp = {
enable = true; enable = true;
extraOptions.init_options.diagnosticSeverity = "Hint"; extraOptions.init_options.diagnosticSeverity = "Hint";
}; };

View file

@ -5,7 +5,7 @@ _:
{ {
opts = { opts = {
enable = true; enable = true;
settings.auto_close = false; settings.auto_close = 0;
}; };
rootOpts.keymaps = [ rootOpts.keymaps = [

View file

@ -5,12 +5,15 @@
{ {
opts = { opts = {
enable = true; enable = true;
settings = {
fps = 60; fps = 60;
stages = "fade"; stages = "fade";
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L27-L28 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L27-L28
maxHeight.__raw = "function() return math.floor(vim.o.lines * 0.75) end"; maxHeight.__raw = /*lua*/
maxWidth.__raw = "function() return math.floor(vim.o.columns * 0.75) end"; ''function() return math.floor(vim.o.lines * 0.75) end'';
maxWidth.__raw = /*lua*/
''function() return math.floor(vim.o.columns * 0.75) end'';
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L20-L26 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L20-L26
icons = { icons = {
@ -32,6 +35,7 @@
end end
''; '';
}; };
};
rootOpts.keymaps = [ rootOpts.keymaps = [
{ {

View file

@ -6,7 +6,7 @@ _:
opts = { opts = {
enable = true; enable = true;
preview.mappings = { settings.preview.mappings = {
scrollB = "<c-b>"; scrollB = "<c-b>";
scrollD = "<c-d>"; scrollD = "<c-d>";
scrollF = "<c-f>"; scrollF = "<c-f>";
@ -14,7 +14,7 @@ _:
}; };
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/nvim-ufo.lua#L28-L44 # https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/nvim-ufo.lua#L28-L44
providerSelector = '' settings.providerSelector = ''
function(_, filetype, buftype) function(_, filetype, buftype)
local function handleFallbackException(bufnr, err, providerName) local function handleFallbackException(bufnr, err, providerName)
if type(err) == "string" and err:match "UfoFallbackException" then if type(err) == "string" and err:match "UfoFallbackException" then

3
plugins/web-devicons.nix Normal file
View file

@ -0,0 +1,3 @@
_:{
opts.enable = true;
}