lsp: Remove some unnecessay lines

This commit is contained in:
Tobias Hunger 2024-10-15 10:13:45 +02:00 committed by Tobias Hunger
parent 07a833a2e3
commit 041d2ae73e

View file

@ -116,9 +116,7 @@ impl ServerNotifier {
pub fn set_use_external_preview(&self, is_external: bool) {
self.use_external_preview.store(is_external, atomic::Ordering::Release);
}
}
impl ServerNotifier {
pub fn send_notification<N: Notification>(&self, params: N::Params) -> Result<()> {
self.sender.send(Message::Notification(lsp_server::Notification::new(
N::METHOD.to_string(),