22 lines
		
	
	
		
			762 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			762 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
return {
 | 
						|
  "nvim-mini/mini.nvim",
 | 
						|
  version = "*",
 | 
						|
  config = function()
 | 
						|
    require("mini.pairs").setup({})
 | 
						|
    require("mini.surround").setup({
 | 
						|
      mappings = {
 | 
						|
        add = "gza",            -- Add surrounding in Normal and Visual modes
 | 
						|
        delete = "gzd",         -- Delete surrounding
 | 
						|
        find = "gzf",           -- Find surrounding (to the right)
 | 
						|
        find_left = "gzF",      -- Find surrounding (to the left)
 | 
						|
        highlight = "gzh",      -- Highlight surrounding
 | 
						|
        replace = "gzr",        -- Replace surrounding
 | 
						|
        update_n_lines = "gzn", -- Update `n_lines`
 | 
						|
 | 
						|
        suffix_last = "l",      -- Suffix to search with "prev" method
 | 
						|
        suffix_next = "n",      -- Suffix to search with "next" method
 | 
						|
      },
 | 
						|
    })
 | 
						|
  end,
 | 
						|
}
 |