-
-
Notifications
You must be signed in to change notification settings - Fork 72
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: Optionally allow inserting tabs as spaces #664
feat: Optionally allow inserting tabs as spaces #664
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #664 +/- ##
==========================================
- Coverage 73.90% 73.81% -0.09%
==========================================
Files 194 194
Lines 19951 19977 +26
==========================================
+ Hits 14745 14747 +2
- Misses 5206 5230 +24 ☔ View full report in Codecov by Sentry. |
crates/hooks/src/rope_editor.rs
Outdated
@@ -10,6 +10,7 @@ use crate::{text_editor::*, EditableMode, EditorHistory, HistoryChange}; | |||
pub struct RopeEditor { | |||
pub(crate) rope: Rope, | |||
pub(crate) cursor: TextCursor, | |||
pub(crate) identation: usize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably use u8
Closes #662