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 section-header-num option #464

Merged
merged 2 commits into from
Dec 23, 2023
Merged

Add section-header-num option #464

merged 2 commits into from
Dec 23, 2023

Conversation

noborus
Copy link
Owner

@noborus noborus commented Nov 5, 2023

If the section header number is greater than 1,
the lines after the section delimiter are also treated as section headers.

This is an implementation of #461.

If the section header number is greater than 1,
the lines after the section delimiter are also treated
as section headers.

This is an implementation of #461.
@noborus
Copy link
Owner Author

noborus commented Nov 5, 2023

ov --section-delimiter "^┌ " --section-header-num 3 pgcli.txt

ov-section-header-num

@noborus
Copy link
Owner Author

noborus commented Nov 6, 2023

Search movement failed when used with jump-target.

Modified to move the start position only
when sectionHeader is at the beginning.
@noborus noborus merged commit 2b84aca into master Dec 23, 2023
8 checks passed
@noborus noborus deleted the section-header-num branch December 25, 2023 06:00
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.

None yet

1 participant