After installing @openzeppelin/contracts in my Hardhat project, I encountered a VS Code status bar error when importing an OpenZeppelin contract.
Error message

Solidity code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import '@openzeppelin/contracts/access/Ownable.sol';
Upon investigation, I discovered that the issue originated from my hardhat.config.js, where I had specified Solidity version 0.8.18, while the OpenZeppelin contracts required version 0.8.20. Updating the Solidity version in my configuration resolved the error.
This addition to the documentation would help prevent similar issues for other users and enhance the overall developer experience.
Thank you for considering this suggestion. I would like to make the update to the documantation.