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

Enable for multi-line comments in programming code? #52

Open
danijar opened this issue Nov 5, 2016 · 1 comment
Open

Enable for multi-line comments in programming code? #52

danijar opened this issue Nov 5, 2016 · 1 comment

Comments

@danijar
Copy link

danijar commented Nov 5, 2016

The auto formatting feature is super useful. I wish I had that for multi-line comments in Python. Is there a way to get that?

@danijar danijar changed the title It is possible to enable vim-pencil for comments in programming languages? Enable for multi-line comments in programming code? Nov 5, 2016
@reedes
Copy link
Collaborator

reedes commented Nov 8, 2016

Pencil is enabling Vim's native autoformat, which you can do independently of pencil with the command set fo+=a . However, I'm not sure how well it works with comments.

I can't see HardPencil mode useable with pure code buffers though, as the settings are largely geared towards prose.

Glad to find that you're finding the plugin useful!

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

No branches or pull requests

2 participants