Fix telescope.themes issue

This commit is contained in:
Amanda Graven 2024-02-22 21:06:54 +01:00
parent 005ea997ba
commit bb89043859
Signed by: amanda
GPG key ID: F747582C5608F4CB

View file

@ -891,7 +891,7 @@ require('lazy').setup({
-- Use nicer highlighting for diffs
enhanced_diff_hl = true,
}},
{'stevearc/dressing.nvim', dependencies = {'nvim-telescope/telescope.nvim'}, opts = {
{'stevearc/dressing.nvim', opts = {
input = {
insert_only = false,
win_options = {
@ -901,7 +901,6 @@ require('lazy').setup({
},
select = {
enabled = false,
--telescope = require'telescope.themes'.get_cursor()
},
}, config = function(_, opts)
vim.cmd'highlight link FloatTitle TelescopeBorder'
@ -1057,11 +1056,11 @@ require('lazy').setup({
-- TODO; check if this is right
full_path = true,
},
--['ui-select'] = telescope.themes.get_cursor {
-- layout_config = {
-- height = 15,
-- },
--},
['ui-select'] = require'telescope.themes'.get_cursor {
layout_config = {
height = 15,
},
},
},
}
require'which-key'.register {