Public Access
config mini.input
This commit is contained in:
@@ -23,7 +23,17 @@ local surround = require("mini.surround")
|
|||||||
|
|
||||||
icons.setup({})
|
icons.setup({})
|
||||||
|
|
||||||
input.setup({})
|
local input_view = input.gen_view.floatwin({
|
||||||
|
-- other interesting symbols for the caret `▏` `⎕` `░` `▒` `▓`
|
||||||
|
to_chunks = function(state, max_width)
|
||||||
|
return input.state_to_chunks(state, max_width, {
|
||||||
|
include_prompt = false,
|
||||||
|
include_hint = false,
|
||||||
|
symbol_caret = "█",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
input.setup({ handlers = { view = input_view } })
|
||||||
|
|
||||||
clue.setup({
|
clue.setup({
|
||||||
triggers = {
|
triggers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user