Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/claymcleod/googledocstrings.vim


https://github.com/claymcleod/googledocstrings.vim

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

This is a VIM plugin I wrote to satisfy my personal needs during Python documentation. There are many things I didn't bother to test, such as tabs instead of spaces. If there are things you'd like to see, submit a pull request!

TODO
----

* Assumes you use spaces instead of tabs.

Usage
-----

I've added this to my .vimrc

```
let g:googledocstrings_author = 'clay'
let g:googledocstrings_todo = 'TODO_DOC(clay)'
nnoremap d :GoogleDocstringsGen
nnoremap t /TODO_DOC(clay):nohdEa
```

When you are ready to write documentation for you module
you can use `d`, then `t` repeatedly filling
in information until it is complete.