aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-29 19:10:59 +0000
committerBlaž Hrastnik2021-07-30 03:22:59 +0000
commitf88d4c1e20d4dbc244599ad3f3a5f301bec239bf (patch)
treed852622a7bae76f0fbb85b2924b1669a59fc1ed2 /helix-term/src
parente191a75e336885b4dd8c3d0a80b7b24000a0ca5a (diff)
Move indent-style code into `helix_core::indent`.
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/commands.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 2f071306..7403f5b2 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1,5 +1,6 @@
use helix_core::{
comment, coords_at_pos, find_first_non_whitespace_char, find_root, graphemes, indent,
+ indent::IndentStyle,
line_ending::{get_line_ending_of_str, line_end_char_index, str_is_line_ending},
match_brackets,
movement::{self, Direction},
@@ -11,7 +12,7 @@ use helix_core::{
};
use helix_view::{
- document::{IndentStyle, Mode},
+ document::Mode,
editor::Action,
input::KeyEvent,
keyboard::KeyCode,