From 321045f7274488cda68fd24b411f28ba366e8f0b Mon Sep 17 00:00:00 2001 From: TheLeoP Date: Mon, 7 Jul 2025 17:19:52 -0500 Subject: [PATCH] docs: update matchup.txt with the content of README --- doc/matchup.txt | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/doc/matchup.txt b/doc/matchup.txt index 2dc11f9..aa8909f 100644 --- a/doc/matchup.txt +++ b/doc/matchup.txt @@ -272,35 +272,21 @@ important special cases. *matchup-treesitter* Tree-sitter integration~ -Note: Currently this feature is possible in neovim only. Only the latest -version of neovim and nvim-treesitter is supported. +Note: Currently this feature is possible in Neovim only. Only the latest +stable version of Neovim is supported. match-up has support for language syntax provided by tree-sitter. The list -of supported languages is available here. This feature requires manual -opt-in in your init.vim and requires nvim-treesitter to be installed. > +of supported languages is available here. - Plug 'nvim-treesitter/nvim-treesitter' - lua < @@ -738,7 +724,7 @@ Module matchparen~ `MatchupStatusOffscreen()` can be used to get the text. `'popup'`: Use a popup window (requires at least vim 8.1.1406) or - a floating window (in neovim) to show the off-screen match. + a floating window (in Neovim) to show the off-screen match. scrolloff~ When enabled, off-screen matches will not be shown in the statusline while @@ -768,7 +754,7 @@ Module matchparen~ Default: 0 border~ - For floating window on neovim only: set to add a border. If the value + For floating window on Neovim only: set to add a border. If the value is the integer 1, default borders are enabled. A list or string can be specified as described in |nvim_open_win()|. @@ -894,7 +880,7 @@ the function |timer_pause|, version 7.4.2180 and after. *g:matchup_matchparen_end_sign* - (neovim only) Configure the virtual symbol shown for closeless matches in languages like + (Neovim only) Configure the virtual symbol shown for closeless matches in languages like C++ and python. if (true) @@ -906,7 +892,7 @@ the function |timer_pause|, version 7.4.2180 and after. *MatchupVirtualText* - (neovim only) You can also configure the color and style of the virtual text. + (Neovim only) You can also configure the color and style of the virtual text. :hi MatchupVirtualText ctermbg=blue guibg=lightblue gui=italic