Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1 KB

README.md

File metadata and controls

31 lines (22 loc) · 1 KB

SwiftDoc.vim

A vim plugin to insert swift documentation markup template for a given function.

See it in action: https://www.youtube.com/watch?v=BTT013xc978

Uses https://github.com/aciidb0mb3r/SwiftMarkupGen to generate the template.

Usage

  • Place cursor on any swift method.
  • Run command :SwiftDoc

Installation

  • Pathogen
    • git clone https://github.com/aciidb0mb3r/SwiftDoc.vim ~/.vim/bundle/PLUGIN-NAME
  • Vundle
    • Add Bundle 'https://github.com/aciidb0mb3r/SwiftDoc.vim' to .vimrc
    • Run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/aciidb0mb3r/SwiftDoc.vim' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/aciidb0mb3r/SwiftDoc.vim' to .vimrc
    • Run :PlugInstall