I'm unsure if this is a bug, or intended functionality. I can't seem to get diagnostics to render in a popup window (as in coc.nvim, which works in my vim client, if extremely slowly): they're echoed to the bottom of the page, with the majority of their contents cut-off. My vim client has popup functionality, and I use that for rendering documentation. If it's relevant, I'm running NixOS, and using the vimHugeX package for gvim.
Environment
neovim/vim version (nvim --version or vim --version): vim 8.2
This plugin version (git rev-parse --short HEAD): cf6dd11
This plugin's binary version (bin/languageclient --version): 0.1.161
Minimal vimrc content (A minimal vimrc is the smallest vimrc that could
reproduce the issue. Refer to an example [here][min-vimrc.vim]):
augroup filetype_rust
autocmd!
autocmd BufReadPost *.rs setlocal filetype=rust
augroup END
" Always draw sign column. Prevent buffer moving when adding/deleting sign.
set signcolumn=yes
let g:LanguageClient_loggingLevel = 'INFO'
let g:LanguageClient_virtualTextPrefix = ''
let g:LanguageClient_loggingFile = expand('~/.local/share/nvim/LanguageClient.log')
let g:LanguageClient_serverStderr = expand('~/.local/share/nvim/LanguageServer.log')
set hidden
set rtp+=~/.vim/plugged/LanguageClient-neovim
let g:LanguageClient_serverCommands = { 'haskell': ['haskell-language-server-wrapper', '--lsp'] }
let g:LanguageClient_usePopupHover = 1
let g:LanguageClient_useVirtualText = "No"
let g:LanguageClient_hoverPreview = "always"
set completefunc=LanguageClient#complete
" set omnifunc=LanguageClient#complete
map h :call LanguageClient_contextMenu()
autocmd FileType haskell nnoremap :call LanguageClient#textDocument_hover()
- Language server link and version:
[Haskell Language Server 1.6.1.1](https://github.com/haskell/haskell-language-server)
[min-vimrc.vim]: https://github.com/autozimu/LanguageClient-neovim/blob/next/min-vimrc.vim
bin/languageclient --version
to get its version number. Yep:checkhealth LanguageClient
? N/ADescribe the bug
I'm unsure if this is a bug, or intended functionality. I can't seem to get diagnostics to render in a popup window (as in coc.nvim, which works in my vim client, if extremely slowly): they're echoed to the bottom of the page, with the majority of their contents cut-off. My vim client has popup functionality, and I use that for rendering documentation. If it's relevant, I'm running NixOS, and using the vimHugeX package for gvim.
Environment
nvim --version
orvim --version
): vim 8.2git rev-parse --short HEAD
): cf6dd11bin/languageclient --version
): 0.1.161Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', \ }
call plug#end()
augroup filetype_rust autocmd! autocmd BufReadPost *.rs setlocal filetype=rust augroup END
" Always draw sign column. Prevent buffer moving when adding/deleting sign. set signcolumn=yes
let g:LanguageClient_loggingLevel = 'INFO' let g:LanguageClient_virtualTextPrefix = '' let g:LanguageClient_loggingFile = expand('~/.local/share/nvim/LanguageClient.log') let g:LanguageClient_serverStderr = expand('~/.local/share/nvim/LanguageServer.log')
set hidden
set rtp+=~/.vim/plugged/LanguageClient-neovim let g:LanguageClient_serverCommands = { 'haskell': ['haskell-language-server-wrapper', '--lsp'] } let g:LanguageClient_usePopupHover = 1 let g:LanguageClient_useVirtualText = "No" let g:LanguageClient_hoverPreview = "always"
set completefunc=LanguageClient#complete " set omnifunc=LanguageClient#complete
maph :call LanguageClient_contextMenu()
autocmd FileType haskell nnoremap :call LanguageClient#textDocument_hover()