瀏覽代碼

nixpkgs/neovim: update flake.lock and plugins

Thomas Dy 1 年之前
父節點
當前提交
c6a51d7207

+ 6 - 6
.config/nixpkgs/neovim/flake.lock

@@ -5,11 +5,11 @@
         "systems": "systems"
       },
       "locked": {
-        "lastModified": 1685518550,
-        "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
+        "lastModified": 1687709756,
+        "narHash": "sha256-Y5wKlQSkgEK2weWdOu4J3riRd+kV/VCgHsqLNTTWQ/0=",
         "owner": "numtide",
         "repo": "flake-utils",
-        "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
+        "rev": "dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7",
         "type": "github"
       },
       "original": {
@@ -20,11 +20,11 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1685498995,
-        "narHash": "sha256-rdyjnkq87tJp+T2Bm1OD/9NXKSsh/vLlPeqCc/mm7qs=",
+        "lastModified": 1688798537,
+        "narHash": "sha256-+3QEnDgBiso8lgUJpMagn6xCujmarc6zCWfKYAd6nqU=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "9cfaa8a1a00830d17487cb60a19bb86f96f09b27",
+        "rev": "842e90934a352f517d23963df3ec0474612e483c",
         "type": "github"
       },
       "original": {

+ 0 - 11
.config/nixpkgs/neovim/flake.nix

@@ -12,17 +12,6 @@
         pkgs = import nixpkgs {
           inherit system;
           overlays = [(final: prev: {
-            treesitter = prev.treesitter.override {
-              extraGrammars = [
-                (final.fetchFromGitHub {
-                  owner = "ckafi";
-                  repo = "tree-sitter-elvish";
-                  rev = "f32711e31e987fd5c2c002f3daba02f25c68672f";
-                  hash = "sha256-/3npcIfTH8w5ekLTb//ZCTxuSGhOXkUBaCq3WWcK2J4=";
-                })
-              ];
-            };
-
             node-lsp = final.callPackage ./node-lsp {};
           })];
         };

+ 3 - 2
.config/nixpkgs/neovim/plugins/default.nix

@@ -28,9 +28,10 @@ let
     buildNeovimPlugin ({
       name = repo;
 
-      src = fetchFromGitHub (spec // {
+      src = fetchFromGitHub {
         inherit owner repo;
-      });
+        inherit (spec) rev sha256;
+      };
 
       dontBuild = true;
     } // (overrides.${name} or {}));

+ 29 - 28
.config/nixpkgs/neovim/plugins/sources.json

@@ -4,8 +4,8 @@
     "sha256": "0l8mw3r6lb6q1p3afvf5psp6cg8vdi84b5j8whmdm83f4mynsn8a"
   },
   "tpope/vim-fugitive": {
-    "rev": "5f0d280b517cacb16f59316659966c7ca5e2bea2",
-    "sha256": "0qgxchrsydxznxwz3gwksqg3nal1ypmwi0ibpkf4whc62a8xxgl6"
+    "rev": "43f18ab9155c853a84ded560c6104e6300ad41da",
+    "sha256": "0s9kyid27bvpqb44hirqvjp33lf7hihw7yj0s2kwv9aif0k6mbw0"
   },
   "tpope/vim-rhubarb": {
     "rev": "ee69335de176d9325267b0fd2597a22901d927b1",
@@ -16,50 +16,51 @@
     "sha256": "0xriiima13cv84jlv37qd6ab4l6fjapqd8a8xsr5c87k0kkyyg13"
   },
   "mbbill/undotree": {
-    "rev": "485f01efde4e22cb1ce547b9e8c9238f36566f21",
-    "sha256": "13bpnacif1r40ncln14m013gnh6n9dnbvawnnna44splr6x39dan"
+    "rev": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131",
+    "sha256": "15x5vsvvnr3sa78mh3gq0vagjcf3qv53b9hpni368p4m0f9a47b8"
   },
   "Wansmer/treesj": {
-    "rev": "b1e2976c2d7ba922371cc7f3ab08b75136c27231",
-    "sha256": "0lnilplr42d2vih4bpm3wgk4b5ir2bjr4nn11z36scswf3by4i4y"
+    "rev": "3203aa553217921fd4dcb79245f9df07278910b2",
+    "sha256": "1a7ym8rdq1zb1w8pb3bvq75bid5r0sggj0xz7r2q2sk3m80dz6a5"
   },
   "nvim-telescope/telescope.nvim": {
-    "rev": "6d3fbffe426794296a77bb0b37b6ae0f4f14f807",
-    "sha256": "171f5lprqfdyh2lg2wkakzdxkxpzxdd9x2nhmvhv63rbskf0v00l"
+    "rev": "276362a8020c6e94c7a76d49aa00d4923b0c02f3",
+    "sha256": "043rrifqhg5bsksqhfdc20f96i2s2xyd6qyga4918fr75sf8hmib"
   },
   "nvim-telescope/telescope-fzf-native.nvim": {
     "rev": "9bc8237565ded606e6c366a71c64c0af25cd7a50",
     "sha256": "0g5n3x66kf5fbzv8rprpyi8hb6v961s0whk8dc6v8r1msc2m4zbs"
   },
   "nvim-lua/plenary.nvim": {
-    "rev": "499e0743cf5e8075cd32af68baa3946a1c76adf1",
-    "sha256": "0r9aw3a53vzq0rdyvq7pi99pqbmnww0dm146pbj2kd33rb34daz6"
+    "rev": "bda256fab0eb66a15e8190937e417e6a14ee5d72",
+    "sha256": "1rsybpshyvzrfzn4dnbhqawn7inrmsfb84rmsklf781chzfjp49l"
   },
   "echasnovski/mini.nvim": {
-    "rev": "81de16f854396094b4118d5d6eb660bd9a188cf5",
-    "sha256": "094pigwidzaak4gc6p2blkb7hlsmiv71y0wd0kb7jvy6k6xr0yyr"
+    "rev": "bb8ef7cfaf7b0c4492836f318df0b61e92ea3de1",
+    "sha256": "1s3lnbjz3rgrplpyc6f7a67ahcql34hy6v5z6qjh18gb2r449sfk"
   },
   "lewis6991/gitsigns.nvim": {
-    "rev": "f868d82a36f7f7f5e110eb0a9659993984f59875",
-    "sha256": "1pbrm7y6z1b96yy8v9chn69jfbznlzrkygp802cb4946snnb5dj7"
+    "rev": "dc2962f7fce953a2a98e7c6d3d7fc4c1d1f66758",
+    "sha256": "17rbsnfdrjfni1nc7say8yy9z1nc7agz8f5484wg3bhlbh28x28n"
   },
   "neovim/nvim-lspconfig": {
-    "rev": "9166622781a39a829878d1fd24c174529d996838",
-    "sha256": "1rms9dbiv1cmc8dwmsr3k8xsn8lcgqkiljfld1jx2yyj8l8xc19b"
+    "rev": "deade69789089c3da15237697156334fb3e943f0",
+    "sha256": "09m1ix3wv3n7r5i5sakh3c7gh3zlvsnckjy4gkxhhpx5sdckw1h6"
   },
   "nvim-treesitter/nvim-treesitter-textobjects": {
-    "rev": "23e883b99228f8d438254e5ef8c897e5e60e75d1",
-    "sha256": "1xjwah0g96mjv01lhd7yfml2gd15syhj2axbvid9xk4yn4m6hks8"
+    "rev": "52f1f3280d9092bfaee5c45be5962fabee3d9654",
+    "sha256": "1k0065mn4hb3ama3qxrln24rf7cqziysddvw4anxws85dan5x9sj"
   },
   "jose-elias-alvarez/typescript.nvim": {
-    "rev": "f66d4472606cb24615dfb7dbc6557e779d177624",
-    "sha256": "1hm87jpscv250x8hv3vacw0sdhkwa81x21cxyvc6nf2vsbj5hx9w"
+    "rev": "de304087e6e49981fde01af8ccc5b21e8519306f",
+    "sha256": "0l3i9fj76y3yl63fh6hprs5fja0h0jl11lidv3p76bdr041gw06g"
   },
   "jose-elias-alvarez/null-ls.nvim": {
-    "rev": "c89333e034a8daba654ebfcf9a4ec9f87765f01e",
-    "sha256": "1kpyh1y5p0cazbvcm9cazkc93giqbbngm9zk1pf5qxrl18217cqh"
+    "rev": "db09b6c691def0038c456551e4e2772186449f35",
+    "sha256": "133qcapq5klinnbhvbqmww5ibwfrrqn9ysg5gjx1kg2vva7nv8p8"
   },
   "j-hui/fidget.nvim": {
+    "branch": "refs/tags/legacy",
     "rev": "0ba1e16d07627532b6cae915cc992ecac249fb97",
     "sha256": "01rrjxlg4xjfs8la0cfcnf5z36s5fdxqzfs4mc0zdz1bn5z60qmf"
   },
@@ -76,16 +77,16 @@
     "sha256": "0225jg2b3hswfq35cnnwv0m7w3ibakaly4s9ya2lq9vabsp9dgar"
   },
   "rest-nvim/rest.nvim": {
-    "rev": "c21eed6cbbc76e120a31b8eafa8f77c338bcbce7",
-    "sha256": "1zyzl2fyaxwn7w037yy01xg4lnqb3x65bnjwd9krwpwdq6bm9gs1"
+    "rev": "0d4b6176ce7fee2d33a716402d47d65a35acf173",
+    "sha256": "05cd2gvfix5k6gxbgnnrgz1izq0g3xik0vjbk8n1qwf5xsd1l6g7"
   },
   "hrsh7th/cmp-nvim-lsp": {
-    "rev": "0e6b2ed705ddcff9738ec4ea838141654f12eeef",
-    "sha256": "0gpwwc3rhfckaava83hpl7pw4rspicblxs7hy3y57gb560ymq6hg"
+    "rev": "44b16d11215dce86f253ce0c30949813c0a90765",
+    "sha256": "1ny64ls3z9pcflsg3sd7xnd795mcfbqhyan3bk4ymxgv5jh2qkcr"
   },
   "hrsh7th/nvim-cmp": {
-    "rev": "8a1694ff330ed58ed29716686fcef79c28090354",
-    "sha256": "00zxvwc244njvkbwbvxffrcqam37xi93r0pvcvzin4kc9npaygaq"
+    "rev": "2743dd989e9b932e1b4813a4927d7b84272a14e2",
+    "sha256": "13k2y9ggfvpzm463dhivy70j8vpzbv8j2nmscqs1l5y0rad93bww"
   },
   "hrsh7th/cmp-vsnip": {
     "rev": "989a8a73c44e926199bfd05fa7a516d51f2d2752",