sumneko to lua_ls{
This commit is contained in:
parent
9e08782ca9
commit
1e7719417f
|
@ -54,7 +54,7 @@ local function find_repo_root(names)
|
||||||
end
|
end
|
||||||
|
|
||||||
local lsp_confs = {
|
local lsp_confs = {
|
||||||
sumneko_lua = {
|
lua_ls = {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
-- Settings for working with nvim (copied from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sumneko_lua)
|
-- Settings for working with nvim (copied from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sumneko_lua)
|
||||||
|
@ -127,7 +127,6 @@ local lsp_confs = {
|
||||||
},
|
},
|
||||||
svelte = {},
|
svelte = {},
|
||||||
svls = {},
|
svls = {},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local lsp_special_setup = {
|
local lsp_special_setup = {
|
||||||
|
|
|
@ -7,14 +7,11 @@ telescope.setup({
|
||||||
i = {
|
i = {
|
||||||
['<C-o>'] = { '<Esc>', type = 'command' },
|
['<C-o>'] = { '<Esc>', type = 'command' },
|
||||||
['<Esc>'] = 'close',
|
['<Esc>'] = 'close',
|
||||||
|
|
||||||
['<C-s>'] = 'select_horizontal',
|
['<C-s>'] = 'select_horizontal',
|
||||||
},
|
},
|
||||||
n = {
|
n = {
|
||||||
q = 'close',
|
q = 'close',
|
||||||
|
|
||||||
['<C-o>'] = { '<Nop>', type = 'command' },
|
['<C-o>'] = { '<Nop>', type = 'command' },
|
||||||
|
|
||||||
['<C-s>'] = 'select_horizontal',
|
['<C-s>'] = 'select_horizontal',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -142,7 +139,8 @@ telescope.register_extension {
|
||||||
end
|
end
|
||||||
return indexed_items
|
return indexed_items
|
||||||
end)(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(_)
|
local make_display = vim.F.if_nil(sopts.make_display, function(_)
|
||||||
return function(e)
|
return function(e)
|
||||||
local x, _ = opts.format_item(e.value.text)
|
local x, _ = opts.format_item(e.value.text)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user