summaryrefslogtreecommitdiff
path: root/src/widgets/luaeditor/mod.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 00:36:10 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 00:36:10 +0200
commitfe0938b1de0c46fc2afcaa3dcd6a0f4ec870d21a (patch)
tree8db7509894842395cfb309f00c41b7f4d173888c /src/widgets/luaeditor/mod.rs
parent1e1eb95926f556e666bc20355327abd24d264858 (diff)
add state which is shared with the lua environment
Diffstat (limited to 'src/widgets/luaeditor/mod.rs')
-rw-r--r--src/widgets/luaeditor/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/luaeditor/mod.rs b/src/widgets/luaeditor/mod.rs
index 939a65f..6fc8436 100644
--- a/src/widgets/luaeditor/mod.rs
+++ b/src/widgets/luaeditor/mod.rs
@@ -6,14 +6,13 @@ use ratatui::{
};
pub mod buffer;
-pub mod cursor;
pub mod theme;
pub mod treesitter;
use buffer::Buffer;
use tree_sitter_highlight::HighlightConfiguration;
-use self::cursor::CursorMove;
+use crate::cursor::CursorMove;
use super::statusbar::StatusBar;