diff --git a/lua/astrocommunity/motion/vim-matchup/init.lua b/lua/astrocommunity/motion/vim-matchup/init.lua index 8ddf1772d..bdc197425 100644 --- a/lua/astrocommunity/motion/vim-matchup/init.lua +++ b/lua/astrocommunity/motion/vim-matchup/init.lua @@ -1,5 +1,9 @@ return { "nvim-treesitter/nvim-treesitter", dependencies = { "andymass/vim-matchup" }, + init = function() + vim.g.matchup_matchparen_offscreen = { method = "popup" } + vim.g.matchup_matchparen_deferred = 1 + end, opts = { matchup = { enable = true } }, }