Open sreeves opened 10 months ago
Ok, this is a nasty issue. What happens under the hood is the following: you added %_datadir
below the preamble section. But that renders the spec file invalid, which results in the LSP server having a stale internal spec state (as rpm fails to parse the spec now). Thereby it keeps looking for the macro on the correct line, but in its internal state, that line is empty.
Fresh git clone and build/install today. Ran VSCode pointing at podman package checkout from SUSE:SLE-15-SP5:Update. Started to modify the spec file and only added a "{_datadir}" entry on a new line and hovering over that pops up a "Request textDocument/hover failed" message box and the command line shows the following python exception