Skip to content
Function parameter complete, code snippets, and much more.
VimL
Find file
Latest commit 8814ebc Oct 29, 2015 @mbbill Merge pull request #3 from mzlogin/upstream_bugfix
fix bug of load user defined snippets

README.md

Created by: Ming Bai

Script type: Utility

Description

Demo

It shows what this script can do.

In insert mode, when you type <tab> (default value of g:completekey) after function name with a ( , function parameters will be append behind, use <tab> key again to switch between parameters.

This key is also used to complete code snippets.

Example:

press <tab> after function name and (

foo ( <tab>

becomes:

foo ( `<first param>`,`<second param>` )

press <tab> after code template

if <tab>

becomes:

if( `<...>` )
{
    `<...>`
}
Something went wrong with that request. Please try again.