Add editorconfig
This commit is contained in:
parent
b51cf5c04e
commit
ea76c5ecc6
5 changed files with 15 additions and 5 deletions
11
.editorconfig
Normal file
11
.editorconfig
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# https://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
@ -6,8 +6,8 @@ use serde::{Deserialize, Serialize};
|
|||
use super::merge_context::MergeContext;
|
||||
use crate::operation_transformation::Operation;
|
||||
|
||||
// CursorPosition is a wrapper around usize to represent the position of an
|
||||
// identifiable cursor in a text document based on the character index.
|
||||
// CursorPosition represents the position of an identifiable cursor in a text
|
||||
// document based on its (UTF-8) character index.
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq, Default)]
|
||||
pub struct CursorPosition {
|
||||
|
|
|
|||
|
|
@ -2,4 +2,3 @@ parent: marketplace
|
|||
left: market| place
|
||||
right: market|space
|
||||
expected: market| placemarket|space
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue