nvarner / typst-lsp

A brand-new language server for Typst, plus a VS Code extension
MIT License
1.19k stars 77 forks source link

Error in file (not main) shows in unrelated file #44

Closed astrale-sharp closed 1 year ago

astrale-sharp commented 1 year ago

Well I have this piece of code that should error no_errors

errors

I have an error in this other file where there should be none note that the line and column are correct.


[{
    "resource": "/home/astrale/Coding/typst/typst-assignement-template/showcase.typ",
    "owner": "_generated_diagnostic_collection_name_#0",
    "severity": 8,
    "message": "unknown variable",
    "startLineNumber": 83,
    "startColumn": 48,
    "endLineNumber": 83,
    "endColumn": 49
}]```
beeb commented 1 year ago

Is one file imported in the other file? (bonjour la francophonie!)

astrale-sharp commented 1 year ago

Yes indeed! (Oui en effet :wink: )