Skip to content

Commit c41865c

Browse files
committed
plugin.telescope: Update the layout of lsp_references picker
1 parent 32cac54 commit c41865c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

lua/config/plugin/telescope/setup.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,16 @@ pickers.lsp_workspace_symbols = {
153153
prompt_prefix = "",
154154
theme = "ivy",
155155
}
156-
pickers.lsp_references = { theme = "dropdown" }
156+
pickers.lsp_references = {
157+
layout_strategy = "vertical",
158+
layout_config = {
159+
preview_cutoff = 10,
160+
preview_height = 0.55,
161+
anchor = "S",
162+
width = 0.7,
163+
height = 0.9,
164+
},
165+
}
157166
pickers.lsp_implementations = pickers.lsp_references
158167
pickers.lsp_definitions = pickers.lsp_references
159168

0 commit comments

Comments
 (0)