Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 563:fb54ab50a72a
Revert "Replace surround with mini.surround for the function wrapping options"
This reverts commit 86ffd4e6b9aa4e16f762e25b6db7bd42ad473f75.
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 17 Feb 2022 11:28:41 +0100 |
parents | fc435126a156 |
children | c2cc785e1674 |
comparison
equal
deleted
inserted
replaced
562:fc435126a156 | 563:fb54ab50a72a |
---|---|
129 | 129 |
130 -- Undoing | 130 -- Undoing |
131 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } | 131 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } |
132 | 132 |
133 -- Parentheses etc | 133 -- Parentheses etc |
134 use { | 134 use { 'tpope/vim-surround' } |
135 'echasnovski/mini.nvim', | |
136 config = function() | |
137 require('mini.surround').setup { | |
138 mappings = { | |
139 add = 'ys', | |
140 delete = 'ds', | |
141 replace = 'cs', | |
142 }, | |
143 } | |
144 end, | |
145 } | |
146 use { | 135 use { |
147 'windwp/nvim-autopairs', | 136 'windwp/nvim-autopairs', |
148 config = function() | 137 config = function() |
149 local npairs = require 'nvim-autopairs' | 138 local npairs = require 'nvim-autopairs' |
150 local Rule = require 'nvim-autopairs.rule' | 139 local Rule = require 'nvim-autopairs.rule' |