Giter Club home page Giter Club logo

vimdoc's Introduction

VimDoc::Sk

    auto fill basic vim document for your viml file. vimdoc parse functions ,
    global variables , script variables for you and insert the documents
    automatically.

    vimdoc-sk converts this:

        " return paths from perl @INC
        fun! libperl#get_perl_lib_paths()
            return split( system('perl -e ''print join "\n",@INC''') , "\n" )  
        endf

    into:

        " libperl#get_perl_lib_paths :
        "   @return[List]:                                                                                                                          
        "       return paths from perl @INC 
        "
        fun! libperl#get_perl_lib_paths()
            return split( system('perl -e ''print join "\n",@INC''') , "\n" )  
        endf

    the function name and arguments will be parsed and add to document.



    global and script variables will also be listed:

        " Script Variables:                                                                                                                          
        "     s:cpan_cache :
        "     s:something :
        "     s:foobar :


        " Global Variables:
        " 
        "     g:cpan_install_command : 
        "     g:cpan_search_command :

    vimdoc add those things for you.
    so that you can just fill descriptions without redundant works.




STANDARD VIMDOC FORMAT


    "=NAME libperl.vim
    "
    "=AUTHOR Cornelius (c9s)  (林佑安)
    "
    "=EMAIL [email protected]
    "
    "=VERSION 0.1
    "
    "=LICEENSE GPL
    "

INSTALLATION

    $ sudo make install

USAGE

    $ vimdoc-sk path/your_script_file.vim    # preview changes

    $ vimdoc-sk path/your_script_file.vim  -p  # apply documents


vimdoc's People

Contributors

c9s avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.