more sensible preview_cutoff value for Telescope to hide preview on small windows
This commit is contained in:
parent
546a5bde68
commit
8dfa3d9bb6
1 changed files with 4 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
-- Telescope
|
|
||||||
return {
|
return {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
tag = "0.1.4",
|
tag = "0.1.4",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvim-lua/plenary.nvim" }
|
"nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
config = function(lazy, opts)
|
--config = function(lazy, opts)
|
||||||
|
config = function()
|
||||||
local telescope = require('telescope')
|
local telescope = require('telescope')
|
||||||
telescope.load_extension('fzf')
|
telescope.load_extension('fzf')
|
||||||
telescope.load_extension('file_browser')
|
telescope.load_extension('file_browser')
|
||||||
|
|
@ -20,7 +20,7 @@ return {
|
||||||
preview_width = 0.4,
|
preview_width = 0.4,
|
||||||
width = 0.75,
|
width = 0.75,
|
||||||
height = 0.75,
|
height = 0.75,
|
||||||
preview_cutoff = 10,
|
preview_cutoff = 90,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue