From d517dcfc9762a4d7a9b00d49194fb41c550cb713 Mon Sep 17 00:00:00 2001 From: Jay Patel <36803168+jay-babu@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:22:02 -0400 Subject: [PATCH 1/2] fix(motion): vim-matchup - matchup_matchparen_offscreen method='popup' #279 --- lua/astrocommunity/motion/vim-matchup/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/astrocommunity/motion/vim-matchup/init.lua b/lua/astrocommunity/motion/vim-matchup/init.lua index 8ddf1772d..b797d57e2 100644 --- a/lua/astrocommunity/motion/vim-matchup/init.lua +++ b/lua/astrocommunity/motion/vim-matchup/init.lua @@ -1,5 +1,6 @@ return { "nvim-treesitter/nvim-treesitter", dependencies = { "andymass/vim-matchup" }, + init = function() vim.g.matchup_matchparen_offscreen = { method = "popup" } end, opts = { matchup = { enable = true } }, } From 134a31eda7b626374add07ef73e4510cddc7dc96 Mon Sep 17 00:00:00 2001 From: Jay Patel <36803168+jay-babu@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:44:52 -0400 Subject: [PATCH 2/2] Update lua/astrocommunity/motion/vim-matchup/init.lua --- lua/astrocommunity/motion/vim-matchup/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/motion/vim-matchup/init.lua b/lua/astrocommunity/motion/vim-matchup/init.lua index b797d57e2..bdc197425 100644 --- a/lua/astrocommunity/motion/vim-matchup/init.lua +++ b/lua/astrocommunity/motion/vim-matchup/init.lua @@ -1,6 +1,9 @@ return { "nvim-treesitter/nvim-treesitter", dependencies = { "andymass/vim-matchup" }, - init = function() vim.g.matchup_matchparen_offscreen = { method = "popup" } end, + init = function() + vim.g.matchup_matchparen_offscreen = { method = "popup" } + vim.g.matchup_matchparen_deferred = 1 + end, opts = { matchup = { enable = true } }, }