2023-10-27 16:24:45 -04:00
|
|
|
local map = require('mini.map')
|
|
|
|
map.setup({
|
|
|
|
integrations = {
|
|
|
|
map.gen_integration.builtin_search(),
|
|
|
|
map.gen_integration.gitsigns(),
|
|
|
|
map.gen_integration.diagnostic(),
|
|
|
|
},
|
|
|
|
window = {
|
2023-12-13 23:23:39 -05:00
|
|
|
focusable = false,
|
2023-10-27 16:24:45 -04:00
|
|
|
width = 7,
|
|
|
|
winblend = 75,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
local ts_input = require('mini.surround').gen_spec.input.treesitter
|
|
|
|
require('mini.surround').setup({
|
|
|
|
custom_surroundings = {
|
|
|
|
-- Use tree-sitter to search for function call
|
|
|
|
f = {
|
|
|
|
input = ts_input({ outer = '@call.outer', inner = '@call.inner' })
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|