17 lines
223 B
Lua
17 lines
223 B
Lua
|
|
local M = {}
|
|
|
|
function M.config()
|
|
local present, treesitter_context = pcall(require, 'treesitter-context')
|
|
if not present then
|
|
return
|
|
end
|
|
|
|
treesitter_context.setup {
|
|
mode = 'topline',
|
|
}
|
|
end
|
|
|
|
return M
|
|
|