mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-06-06 04:15:31 +00:00
b415e862bf
- fixes `strdisplaywidth` calculations for `dynamic_preview_title`
11 lines
319 B
Lua
11 lines
319 B
Lua
-- Don't wrap textwidth things
|
|
vim.opt_local.formatoptions:remove "t"
|
|
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
|
|
vim.opt_local.textwidth = 0
|
|
vim.opt_local.scrollbind = false
|