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
Hello,
I am trying to set up hdl_checker in neovim with coc.nvim, but have a big problem with error highlighting - there is none. At first , with the start of nvim, hdl_checker works fine and creates "_hdl_checker" default directory and parses all HDL files. But upon opening any of them I see neither the "bar" with typical ">>" symbols indicating an error no any other highlights.
Upon closer inspection of hdl_checker temporary log files, i noticed that all "diagnostics" fields in the packets sent to coc.nvim are empty:
INFO | 18:32:38 | hdl_checker.core @ getMessagesWithText():544 Thread-122 | Getting messages for 'c:\logger\hdl\logger.v' with content
INFO | 18:32:38 | hdl_checker.database @ _updatePathLibrary():353 Thread-122 | Setting library for 'C:\Users\Nikita\AppData\Local\Temp\nvim.0\xG65Fc\tmp2qh7mvgg.v' to 'not_in_project'
INFO | 18:32:38 | hdl_checker.builders.fallback @ build():428 Thread-122 | Forcing build of C:\Users\Nikita\AppData\Local\Temp\nvim.0\xG65Fc\tmp2qh7mvgg.v
INFO | 18:32:38 | pygls.protocol @ _send_data():381 Thread-122 | Sending data: {"jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": {"uri": "file:///c:/logger/hdl/logger.v", "diagnostics": []}}
INFO | 18:32:39 | hdl_checker.builders.fallback @ build():428 Thread-150 | Forcing build of c:\logger\hdl\logger.v
INFO | 18:32:39 | pygls.protocol @ _send_data():381 Thread-150 | Sending data: {"jsonrpc": "2.0", "method": "textDocument/publishDiagnostics", "params": {"uri": "file:///c:/logger/hdl/logger.v", "diagnostics": []}}
So essentially coc.nvim never gets any info about errors in the analyzed files and naturally doesn't draw anything. But the hdl_checker does get all the information about any changes to a file. In this example I purposefully added a couple of errors into the "logger.v" file, but the "diagnostics" were still empty.
What may be the cause of this problem?
Please help!
hdl_checker -V : 0.7.4
python --version : Python 3.8.10
OS: Windows 11 Pro, 10.0.22631 Build 22631
nvim : v0.9.2
vsim -version : Model Technology ModelSim ALTERA vsim 10.1e Simulator 2013.06 Jun 12 2013
Can't find a way to get my coc.nvim version, but I installed it with vim-plug so it should be one of the latest.
Issue details
Hello,
I am trying to set up hdl_checker in neovim with coc.nvim, but have a big problem with error highlighting - there is none. At first , with the start of nvim, hdl_checker works fine and creates "_hdl_checker" default directory and parses all HDL files. But upon opening any of them I see neither the "bar" with typical ">>" symbols indicating an error no any other highlights.
Upon closer inspection of hdl_checker temporary log files, i noticed that all "diagnostics" fields in the packets sent to coc.nvim are empty:
So essentially coc.nvim never gets any info about errors in the analyzed files and naturally doesn't draw anything. But the hdl_checker does get all the information about any changes to a file. In this example I purposefully added a couple of errors into the "logger.v" file, but the "diagnostics" were still empty.
What may be the cause of this problem?
Please help!
hdl_checker -V
:0.7.4
python --version
:Python 3.8.10
Windows 11 Pro, 10.0.22631 Build 22631
v0.9.2
vsim -version
:Model Technology ModelSim ALTERA vsim 10.1e Simulator 2013.06 Jun 12 2013
Also attaching the full hdl_checker log:
hdl_checker_log.log
The text was updated successfully, but these errors were encountered: