Check before calling get_or_create_namespace
Close
@@ -2683,6 +2683,7 @@ impl LanguageClient {
}
}
+ if self.get(|state| state.is_nvim)? {
let namespace_id = self.get_or_create_namespace()?;
self.vim()?.set_virtual_texts(
bufnr,
@@ -2691,6 +2692,7 @@ impl LanguageClient {
viewport.end,
&virtual_texts,
)?;
+ }
info!("End {}", NOTIFICATION__HandleCursorMoved);
Ok(())
