sumneko to lua_ls{
This commit is contained in:
+4
-6
@@ -7,14 +7,11 @@ telescope.setup({
|
||||
i = {
|
||||
['<C-o>'] = { '<Esc>', type = 'command' },
|
||||
['<Esc>'] = 'close',
|
||||
|
||||
['<C-s>'] = 'select_horizontal',
|
||||
},
|
||||
n = {
|
||||
q = 'close',
|
||||
|
||||
['<C-o>'] = { '<Nop>', type = 'command' },
|
||||
|
||||
['<C-s>'] = 'select_horizontal',
|
||||
},
|
||||
},
|
||||
@@ -110,9 +107,9 @@ telescope.register_extension {
|
||||
make_display = function(displayer)
|
||||
return function(e)
|
||||
return displayer {
|
||||
{ e.value.idx .. ":", "TelescopePromptPrefix" },
|
||||
{ e.value.idx .. ":", "TelescopePromptPrefix" },
|
||||
{ e.value.add.command_title },
|
||||
{ e.value.add.client_name, "TelescopeResultsComment" },
|
||||
{ e.value.add.client_name, "TelescopeResultsComment" },
|
||||
}
|
||||
end
|
||||
end,
|
||||
@@ -142,7 +139,8 @@ telescope.register_extension {
|
||||
end
|
||||
return indexed_items
|
||||
end)(items)
|
||||
local displayer = vim.F.if_nil(sopts.make_displayer, function() end)(widths)
|
||||
local displayer = vim.F.if_nil(sopts.make_displayer, function()
|
||||
end)(widths)
|
||||
local make_display = vim.F.if_nil(sopts.make_display, function(_)
|
||||
return function(e)
|
||||
local x, _ = opts.format_item(e.value.text)
|
||||
|
||||
Reference in New Issue
Block a user