9 lines
275 B
Lua
9 lines
275 B
Lua
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' })
|
|
},
|
|
}
|
|
})
|