8000 GitHub - vim-scripts/matchparenpp: Improvement over standard matchparen plugin
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vim-scripts/matchparenpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2059

Improves over standard matchparen.vim plugin by echoing line containing matching bracket in the status line so you can quickly see which block is terminated by this paren.  Also scans for braces/parens which are off-screen.

If you write functions or blocks like this:
if (condition)
{
    ...
}
the plugin will echo the line "if (condition)" and not the lone "{".
By default, the plugin scans the line containing the opening brace and the two lines above that, looking for the statement that begins the block, be it a loop or function definition.  If you want more or less, set it in the variable g:MP_stmt_thresh.

About

Improvement over standard matchparen plugin

Resources

Stars

Watchers

Forks

Packages

No packages published
0