Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the :DogeGenerate command to generate documentation #32

Merged
merged 4 commits into from
Jul 28, 2019
Merged

Add the :DogeGenerate command to generate documentation #32

merged 4 commits into from
Jul 28, 2019

Conversation

RobertAudi
Copy link
Contributor
@RobertAudi RobertAudi commented Jul 28, 2019

Prelude

Thank you for helping out DoGe!

By contributing to DoGe you agree to the following statements (Replace [ ] with [x] with those you agree with):

Why this PR?

This just adds a command – :DogeGenerate – to generate documentation.

Note: The vimdoc command did not add anything to the help file, so I took the initiative to add a section manually. I can remove it if necessary.

@kkoomen
Copy link
Owner
kkoomen commented Jul 28, 2019

Hi,

in a47e59a I did adjust the command declaration. The only thing that doesn't work with the DogeGenerate command is that the interactive mode doesn't seem to work for me.

Apparently the l:todo_count seems to be 0. It counts the number of TODO items in the comment. If there is 1 or more, it will jump to the first TODO item. For some reason it doesn't update the current buffer when doing a substitution. This has to do with my local vimrc since I've set lazyredraw in my local vimrc. I'll try to fix this.

@kkoomen
Copy link
Owner
kkoomen commented Jul 28, 2019

Sorry, using the <Plug> was the problem. I've removed this in the current commit and it's fixed now.

@kkoomen kkoomen merged commit 18f9cd2 into kkoomen:master Jul 28, 2019
@kkoomen
Copy link
Owner
kkoomen commented Jul 28, 2019

This feature has been merged and released in v1.10.0.

Feel free to submit any new issues if you experience any unwanted behavior in the future. Thanks for your contribution.

@RobertAudi RobertAudi deleted the DogeGenerate-command branch July 28, 2019 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants