@@ -16,6 +16,11 @@ use crate::{
1616
1717use std::borrow::Cow;
1818
19+/// Gets the language server that is attached to a document, and
20+/// if it's not active displays a status message. Using this macro
21+/// in a context where the editor automatically queries the LSP
22+/// (instead of when the user explicitly does so via a keybind like
23+/// `gd`) will spam the "LSP inactive" status message confusingly.
1924#[macro_export]
2025macro_rules! language_server {
2126 ($editor:expr, $doc:expr) => {