mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-16 21:27:44 +00:00
Fix reference to lsp_map_keys
This commit is contained in:
parent
0dd0d7c9ba
commit
4d9947dfa1
@ -3,7 +3,6 @@ local lsp_installer = require("nvim-lsp-installer")
|
|||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.lsp_map_keys = function(server, bufnr)
|
M.lsp_map_keys = function(server, bufnr)
|
||||||
print("Lsp_map_keys()")
|
|
||||||
local function map_key(...)
|
local function map_key(...)
|
||||||
-- Map to buffer if buffer number is supplied,
|
-- Map to buffer if buffer number is supplied,
|
||||||
-- globally otherwise
|
-- globally otherwise
|
||||||
@ -80,7 +79,7 @@ lsp_installer.on_server_ready(function(server)
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on_attach = Lsp_map_keys
|
opts.on_attach = M.lsp_map_keys
|
||||||
opts.capabilities = capabilities
|
opts.capabilities = capabilities
|
||||||
server:setup(opts)
|
server:setup(opts)
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user