]> git.wincent.com - docvim.git/commit
Print options
authorGreg Hurrell <greg@hurrell.net>
Mon, 6 Jun 2016 15:31:14 +0000 (08:31 -0700)
committerGreg Hurrell <greg@hurrell.net>
Mon, 6 Jun 2016 15:31:14 +0000 (08:31 -0700)
commit74e787c2c5a5955a8558c7a1f90525ce63f91270
tree00b69eff416ff12faa82c8b0c25647015098cecd
parentd933bcb95ee6c5739e9ed04fa3c2db70b0558f53
Print options

Alignment will need a bit of work here, but this is a good first draft.

Specifically, if we want things to look like this in the UI:

                                g:SomeOpt
    g:SomeOpt        string (default: 10)

The output will actually need to be:

                                *g:SomeOpt*
    |g:SomeOpt|        string (default: 10)

Because `|` and `*` don't take up any width due to being concealed by Vim.
lib/Docvim/AST.hs
lib/Docvim/Printer/Vim.hs
tests/fixtures/vim/integration-ferret-ftplugin-qf.golden
tests/fixtures/vim/integration-ferret-plugin.golden
tests/fixtures/vim/integration-ferret-private.golden