nvim-jdtls: fix export/import
This commit is contained in:
parent
05fb156293
commit
687e994266
2 changed files with 6 additions and 2 deletions
|
@ -17,4 +17,4 @@ require('jdtls').start_or_attach({
|
|||
}
|
||||
})
|
||||
|
||||
require('pluginconf.lsp').Lsp_map_keys('jdtls', nil)
|
||||
require('pluginconf.lsp').lsp_map_keys('jdtls', nil)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
local lsp_installer = require("nvim-lsp-installer")
|
||||
|
||||
Lsp_map_keys = function(server, bufnr)
|
||||
local M = {}
|
||||
|
||||
M.lsp_map_keys = function(server, bufnr)
|
||||
print("Lsp_map_keys()")
|
||||
local function map_key(...)
|
||||
-- Map to buffer if buffer number is supplied,
|
||||
|
@ -82,3 +84,5 @@ lsp_installer.on_server_ready(function(server)
|
|||
opts.capabilities = capabilities
|
||||
server:setup(opts)
|
||||
end)
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue