Przeglądaj źródła

nixpkgs/neovim: add vim-nix

Thomas Dy 2 lat temu
rodzic
commit
ec1fb8df8a

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

@@ -197,6 +197,17 @@
       sha256 = "0dh5dsn8znhxsdr9plxa2mchlnfbgrvalc5pnz2wdsc2adz37521";
     };
 
+    dontBuild = true;
+  })
+  (buildNeovimPlugin {
+    name = "vim-nix";
+    src = fetchFromGitHub {
+      owner = "LnL7";
+      repo = "vim-nix";
+      rev = "7d23e97d13c40fcc6d603b291fe9b6e5f92516ee";
+      hash = "sha256-W6ExP+iDNo5T8XazxHRpUiECGv+AU5PPoM4CmU7NV+0=";
+    };
+
     dontBuild = true;
   })
 ]

+ 2 - 0
.config/nixpkgs/neovim/update.sh

@@ -47,5 +47,7 @@ add_plugin jose-elias-alvarez typescript.nvim
 add_plugin jose-elias-alvarez null-ls.nvim
 add_plugin j-hui fidget.nvim
 add_plugin sainnhe sonokai
+# still useful for commentstring + indentation
+add_plugin LnL7 vim-nix
 
 echo "]"