replace intellitab with auto-indent
This commit is contained in:
10
after/plugin/auto-indent.lua
Normal file
10
after/plugin/auto-indent.lua
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user