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

feat(precognition): add line wrapping for virtual lines #74

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

tris203
Copy link
Owner

@tris203 tris203 commented Jun 16, 2024

This commit introduces a new feature where if the 'wrap' option is enabled and the virtual line length exceeds the window width, the virtual line is subdivided into sections. The section that contains the cursor is then displayed.

Closes #41

This is a fairly naive implementation and will need

  • Using vim functions to deal with internationalised characters better
  • Tests

This commit introduces a new feature where if the 'wrap' option is enabled
and the virtual line length exceeds the window width, the virtual line is
subdivided into sections. The section that contains the cursor is then
displayed.
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.

Wrapped line
1 participant