-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
Hi @autozimu,
I'm having erroneous diagnostic signs even after I fix all syntax errors in C++ code. If I move cursor to the line containing the sign, I don't see any error messages in the status line. Logs also show that the language server returns an empty list in textDocument/publishDiagnostics
message. So I believe it's purely displaying issue.
- neovim/vim version: NVIM v0.2.2
- Plugin version (git SHA): ed183d7
- Minimal vimrc:
call plug#begin('~/.config/nvim/plugged')
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
call plug#end()
let g:LanguageClient_serverCommands = {
\ 'cpp': ['clangd'],
\ }
let g:LanguageClient_loggingLevel = 'DEBUG'
- Language server name/link and version: latest clangd 7 from SVN. BTW stable clangd 5 doesn't work for me at all (probably due to clangd completion does not work #72 reintroduced in new rust implementation) but this is another story.
- Reproduction steps (from clean state):
- Open the following C++ file with a syntax error:
#include <iostream>
void foo()
{
int main(int argc, char **argv)
{
return 0;
}
- See the diagnostic signs because of missing closing brace.
- Fix the error by adding the missing brace to line 5.
Expected: all diagnostic signs disappear.
Observed: erroneous diagnostic signs still remain in the gutter.
This issue happens only in next
branch. Legacy python implementation works correctly.
Thank you for your hard work!
JulioJu, e-max, przemkovv, nwoeanhinnogaehr, jeffvandyke and 1 more
Metadata
Metadata
Assignees
Labels
No labels