Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix(lsp): suppress marimo hover tooltip for all LSP providers, not just pylsp (#9741)

Vishak Baddur4d47f09aea65
diff --git a/frontend/src/core/codemirror/completion/hints.ts b/frontend/src/core/codemirror/completion/hints.ts
index 69becd17d2..81112ab934 100644
--- a/frontend/src/core/codemirror/completion/hints.ts
+++ b/frontend/src/core/codemirror/completion/hints.ts
@@ -16,7 +16,10 @@ import { AUTOCOMPLETER, Autocompleter } from "./Autocompleter";
export function hintTooltip(lspConfig: LSPConfig) {
return [
// Hover tooltip is already covered by LSP
- lspConfig?.pylsp?.enabled && hasCapability("pylsp")
+ (lspConfig?.pylsp?.enabled && hasCapability("pylsp")) ||
+ (lspConfig?.ty?.enabled && hasCapability("ty")) ||
+ (lspConfig?.pyrefly?.enabled && hasCapability("pyrefly")) ||
+ (lspConfig?.basedpyright?.enabled && hasCapability("basedpyright"))
? []
: hoverTooltip(
async (view, pos) => {