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 option always_use_block #478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ilan-schemoul
Copy link

@ilan-schemoul ilan-schemoul commented Jul 20, 2024

Problem:
Sometimes coding rules/preferences makes one need to only use block comments for certain filetypes.
With the current implementation of this plugin you have to memorize different mappings for regular and block comments (I very often use regular comment mapping instead of block as I constantly switch between c and python files). Also you don't have mappings for block comments in "extra" actions (eol, above, below).

Solution:
Use only block comments if the filetype is in always_use_block

Add an option so every action uses block comments instead of line.
Useful for respecting coding rules enforcing to always use block comments.
@ilan-schemoul
Copy link
Author

@numToStr hey can you take a look please :)

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.

1 participant