Skip to content

Warning/Error reporting not working? #199

@ntwilson

Description

@ntwilson

I'm using NeoVim 0.9.0, and this week the highlighting for errors and warnings stopped working, even though the language server is working for other features. I upgraded to version 0.17.2 of the language server, and the broken highlighting seemed to correspond to the upgrade, but the problem persisted after downgrading back to 0.17.1. I can tell the language server is detecting warnings, because if I (for example) add an unused import at the top of the file and open the code actions menu, it will include a suggestion to delete the unused import, it just won't render the warning in any way. The only way I have been able to see errors or warnings is to run spago build to see the console output, but autocomplete and other tooltips still show up.
image

I've noticed that VS Code is working as expected (using 0.17.2), but the LSP logs from NeoVim and those from VS Code look identical to me.

I'm out of ideas on what to try to diagnose this any further. Is there any chance that installing 0.17.2 updated some cache or something that remained broken even after downgrading to 0.17.1? I've certainly tried removing the entire .spago/ and output/ folders and rebuilding everything from scratch. Are there any suggestions for what else I can look at to try to get any further information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions