fix: set nowrap in prompt buffer (#1499)
- fixes `strdisplaywidth` calculations for `dynamic_preview_title`
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
vim.opt_local.formatoptions:remove "t"
|
vim.opt_local.formatoptions:remove "t"
|
||||||
vim.opt_local.formatoptions:remove "c"
|
vim.opt_local.formatoptions:remove "c"
|
||||||
|
|
||||||
|
-- Don't include `showbreak` when calculating strdisplaywidth
|
||||||
|
vim.opt_local.wrap = false
|
||||||
|
|
||||||
-- There's also no reason to enable textwidth here anyway
|
-- There's also no reason to enable textwidth here anyway
|
||||||
vim.opt_local.textwidth = 0
|
vim.opt_local.textwidth = 0
|
||||||
vim.opt_local.scrollbind = false
|
vim.opt_local.scrollbind = false
|
||||||
|
|||||||
Reference in New Issue
Block a user