fix: Override textwidth and formatoptions to attempt to prevent linebreaks (#1153)
This commit is contained in:
6
ftplugin/TelescopePrompt.lua
Normal file
6
ftplugin/TelescopePrompt.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
-- Don't wrap textwidth things
|
||||||
|
vim.opt_local.formatoptions:remove "t"
|
||||||
|
vim.opt_local.formatoptions:remove "c"
|
||||||
|
|
||||||
|
-- There's also no reason to enable textwidth here anyway
|
||||||
|
vim.opt_local.textwidth = 0
|
||||||
Reference in New Issue
Block a user