fix(nvim): some shitty error with auto-pairs and neotree

This commit is contained in:
parent a9f22038b8
commit 8cd0b5a1db

View File

@ -1,3 +1,18 @@
return {
"jiangmiao/auto-pairs",
"windwp/nvim-autopairs",
-- config = function()
-- require("nvim-autopairs").setup({
-- check_ts = true, -- Опционально, если используешь treesitter
-- })
--
-- -- Переопределяем автокомманду BufEnter
-- vim.api.nvim_create_autocmd("BufEnter", {
-- group = vim.api.nvim_create_augroup("NvimAutopairsCustom", { clear = true }),
-- callback = function()
-- if vim.bo.filetype ~= "NvimTree" then
-- require("nvim-autopairs").on_enter()
-- end
-- end,
-- })
-- end,
}