You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to display Java documentation when in in Coq's autocompletion. I'm using nvim-jdtls to connect to the LSP server.
While in autocompletion, I get signature information but no documentation:
Mind that documentation is available using hover:
What I'd like to have is this, either automatically or when pressing a key combination while in Coq's autocompletion:
This is my init.lua:
-- Default is "~/.config/nvim/", can be changed with $XDG_CONFIG_HOME or NVIM_APPNAME
local config_dir = vim.fn.stdpath("config")
local vim_plug_file = config_dir .. "/autoload/plug.vim"
function file_exists(name)
local f = io.open(name, "r")
return f ~= nil and io.close(f)
end
-- Install vim-plug if it doesn't exist
if not file_exists(vim_plug_file) then
local vim_plug_url = "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
vim.fn.system({ "curl", "-fLo", vim_plug_file, "--create-dirs", vim_plug_url })
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
vim.cmd("PlugInstall")
end,
})
end
local vim = vim
local Plug = vim.fn['plug#']
vim.call('plug#begin')
Plug('https://github.com/mfussenegger/nvim-jdtls')
Plug('https://github.com/ms-jpq/coq_nvim')
vim.call('plug#end')
Hi and thanks a lot for Coq!
I'm trying to display Java documentation when in in Coq's autocompletion. I'm using nvim-jdtls to connect to the LSP server.
While in autocompletion, I get signature information but no documentation:
Mind that documentation is available using hover:
What I'd like to have is this, either automatically or when pressing a key combination while in Coq's autocompletion:
This is my
init.lua
:This is
ftplugin/java.lua
:The text was updated successfully, but these errors were encountered: