11 lines
206 B
Lua
11 lines
206 B
Lua
local status_ok, indent = pcall(require, "auto-indent")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
indent.setup {
|
|
indentexpr = function(lnum)
|
|
return require("nvim-treesitter.indent").get_indent(lnum)
|
|
end
|
|
}
|