Skip to content

Commit e58647d

Browse files
committed
NOTE: ensure the lsp client name is correct
1 parent 7735494 commit e58647d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/plugins/lsp.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ return { -- LSP Plugins
168168

169169
-- Elixir-specific keymaps, but they only work with elixir-tools installed
170170
-- TODO: Figure out how to run these commands in the LSP itself, without needing the elixir-tools
171+
-- TODO: Make sure the client name works, might need to be ElixirLS if you're using the install from elixir-tools
171172
local elixirDesc = 'LSP Elixir: '
172173
if client and client.name == 'elixirls' then
173174
vim.keymap.set('n', '<space>fp', ':ElixirFromPipe<cr>', { desc = elixirDesc .. '[f]rom [p]ipe', buffer = true, noremap = true })

0 commit comments

Comments
 (0)