using ropey for textarea

This commit is contained in:
Priec
2025-08-19 00:03:04 +02:00
parent f0bc7abaad
commit a3f578ebac
3 changed files with 206 additions and 69 deletions

View File

@@ -23,6 +23,8 @@ tracing = "0.1.41"
tracing-subscriber = "0.3.19"
async-trait.workspace = true
regex = { workspace = true, optional = true }
ropey = { version = "1.6.1", optional = true }
once_cell = "1.21.3"
[dev-dependencies]
tokio-test = "0.4.4"
@@ -34,7 +36,7 @@ suggestions = ["tokio"]
cursor-style = ["crossterm"]
validation = ["regex"]
computed = []
textarea = ["gui"]
textarea = ["dep:ropey","gui"]
# text modes (mutually exclusive; default to vim)
textmode-vim = []
@@ -48,6 +50,7 @@ all-nontextmodes = [
"computed",
"textarea"
]
ropey = ["dep:ropey"]
[[example]]
name = "suggestions"