mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Merge 5d995b6d17 into c64a61734f
This commit is contained in:
commit
6567e7b889
1 changed files with 1 additions and 26 deletions
|
|
@ -9,32 +9,7 @@ return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
elixirls = {
|
expert = {},
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>cp",
|
|
||||||
function()
|
|
||||||
local params = vim.lsp.util.make_position_params()
|
|
||||||
LazyVim.lsp.execute({
|
|
||||||
command = "manipulatePipes:serverid",
|
|
||||||
arguments = { "toPipe", params.textDocument.uri, params.position.line, params.position.character },
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
desc = "To Pipe",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>cP",
|
|
||||||
function()
|
|
||||||
local params = vim.lsp.util.make_position_params()
|
|
||||||
LazyVim.lsp.execute({
|
|
||||||
command = "manipulatePipes:serverid",
|
|
||||||
arguments = { "fromPipe", params.textDocument.uri, params.position.line, params.position.character },
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
desc = "From Pipe",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue