replace intellitab with auto-indent

This commit is contained in:
2023-11-07 23:29:02 -05:00
parent e0ee8e3611
commit ebf9d2d1c4
3 changed files with 12 additions and 2 deletions

View 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
}

View File

@ -89,7 +89,7 @@ cmp.setup {
elseif neogen.jumpable() then
neogen.jump_next()
else
require("intellitab").indent()
fallback()
end
end, { "i", "s" }),
["<S-Tab>"] = cmp.mapping(function(fallback)