fix: Fix things for conni
This commit is contained in:
@@ -1051,10 +1051,9 @@ function pickers.on_close_prompt(prompt_bufnr)
|
|||||||
picker.close_windows(status)
|
picker.close_windows(status)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Get the prompt text without the prompt prefix.
|
||||||
function Picker:_get_prompt()
|
function Picker:_get_prompt()
|
||||||
return vim.trim(
|
return vim.api.nvim_buf_get_lines(self.prompt_bufnr, 0, 1, false)[1]:sub(#self.prompt_prefix + 1)
|
||||||
vim.api.nvim_buf_get_lines(self.prompt_bufnr, 0, 1, false)[1]:sub(#self.prompt_prefix + 1)
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function Picker:_reset_highlights()
|
function Picker:_reset_highlights()
|
||||||
|
|||||||
Reference in New Issue
Block a user