chore(nvim): replace vim-surround with nvim-surround

This commit is contained in:
Stefan Imhoff
2022-10-31 08:59:07 +01:00
parent 92b2ce9723
commit 9b7762e45a
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
-- nvim-surround https://github.com/kylechui/nvim-surround
local status_ok, surround = pcall(require, "nvim-surround")
if not status_ok then
return
end
surround.setup()

View File

@@ -155,7 +155,7 @@ return packer.startup(function(use)
use("tpope/vim-speeddating") -- Increase dates, times, etc.
use("rstacruz/vim-xtract") -- Extract code into new file
use("tpope/vim-repeat") -- Repeat plugins
use("tpope/vim-surround") -- Replace, add, remove surroundings
use("kylechui/nvim-surround") -- Surround selections, stylishly
use("wuelnerdotexe/vim-astro") -- Astro support
use("MunifTanjim/prettier.nvim") -- Prettier
use("untitled-ai/jupyter_ascending.vim") -- Interact with jupyter_ascending
@@ -172,6 +172,7 @@ return packer.startup(function(use)
use("kana/vim-textobj-user")
use("michaeljsmith/vim-indent-object") -- ai, ii, aI, iI
use("whatyouhide/vim-textobj-xmlattr") -- ax, ix
use("nvim-treesitter/nvim-treesitter-textobjects") -- Syntax aware text-objects
-- Custom Motions
use("christoomey/vim-sort-motion") -- gs