Просмотр исходного кода

nixpkgs/neovim: use mini.surround instead of vim-surround

Thomas Dy 2 лет назад
Родитель
Сommit
df20615d50

+ 3 - 0
.config/nixpkgs/neovim/plugins.lua

@@ -75,6 +75,9 @@ require('mini.indentscope').setup()
 -- comment actions
 require('mini.comment').setup()
 
+-- surround actions
+require('mini.surround').setup()
+
 -- LSP completion and function signature display
 require('mini.completion').setup({
   delay = {

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

@@ -34,17 +34,6 @@
 
     dontBuild = true;
   })
-  (buildNeovimPlugin {
-    name = "vim-surround";
-    src = fetchFromGitHub {
-      owner = "tpope";
-      repo = "vim-surround";
-      rev = "3d188ed2113431cf8dac77be61b842acb64433d9";
-      sha256 = "0lfnhwcgfxcg4n59xjxc29fhj08jhdv41l8zpx0fjkx796v3k48d";
-    };
-
-    dontBuild = true;
-  })
   (buildNeovimPlugin {
     name = "vim-abolish";
     src = fetchFromGitHub {

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

@@ -32,7 +32,6 @@ echo "{ buildNeovimPlugin, fetchFromGitHub }:
 add_plugin tpope vim-sleuth
 add_plugin tpope vim-fugitive
 add_plugin tpope vim-rhubarb
-add_plugin tpope vim-surround
 add_plugin tpope vim-abolish
 add_plugin mbbill undotree
 add_plugin Wansmer treesj