mirror of
https://github.com/nvim-telescope/telescope.nvim
synced 2024-09-16 21:24:02 +02:00
fix: disable signcolumn in telescope windows (#1781)
This commit is contained in:
parent
ddb9e56160
commit
2d0b4a3243
3 changed files with 4 additions and 1 deletions
|
@ -8,3 +8,5 @@ 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
|
||||||
|
|
||||||
|
vim.opt_local.signcolumn = "no"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
-- Don't have scrolloff, it makes things weird.
|
-- Don't have scrolloff, it makes things weird.
|
||||||
vim.opt_local.scrolloff = 0
|
vim.opt_local.scrolloff = 0
|
||||||
vim.opt_local.scrollbind = false
|
vim.opt_local.scrollbind = false
|
||||||
|
|
||||||
|
vim.opt_local.signcolumn = "no"
|
||||||
|
|
|
@ -369,7 +369,6 @@ previewers.new_buffer_previewer = function(opts)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- TODO(conni2461): We only have to set options once. Right?
|
|
||||||
vim.api.nvim_win_set_option(status.preview_win, "winhl", "Normal:TelescopePreviewNormal")
|
vim.api.nvim_win_set_option(status.preview_win, "winhl", "Normal:TelescopePreviewNormal")
|
||||||
vim.api.nvim_win_set_option(status.preview_win, "signcolumn", "no")
|
vim.api.nvim_win_set_option(status.preview_win, "signcolumn", "no")
|
||||||
vim.api.nvim_win_set_option(status.preview_win, "foldlevel", 100)
|
vim.api.nvim_win_set_option(status.preview_win, "foldlevel", 100)
|
||||||
|
|
Loading…
Reference in a new issue