mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-16 21:27:44 +00:00
nvim-jdtls: fix export/import
This commit is contained in:
parent
8af3cdd256
commit
0dd0d7c9ba
@ -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")
|
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()")
|
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,
|
||||||
@ -82,3 +84,5 @@ lsp_installer.on_server_ready(function(server)
|
|||||||
opts.capabilities = capabilities
|
opts.capabilities = capabilities
|
||||||
server:setup(opts)
|
server:setup(opts)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user