jonathanmorris180 / salesforce.nvim

A Salesforce plugin for Neovim.
MIT License
20 stars 5 forks source link

Compilation issues do not show in correct buffer after pushing when viewing a different buffer #39

Open jonathanmorris180 opened 2 months ago

jonathanmorris180 commented 2 months ago

Description

When a class file is pushed to an org and you switch to a different buffer, the diagnostics do not appear in the correct buffer.

Steps to reproduce

  1. Write a class that will not compile correctly
  2. Push it to the default org
  3. Immediately switch to a different buffer
  4. Diagnostics do not appear in the correct buffer

Expected behavior

Diagnostics appear in the correct buffer regardless of the currently open buffer.