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.

disable lint keymap (#1739)

Akshay Agrawal293e3cd122ed
diff --git a/frontend/src/core/codemirror/cm.ts b/frontend/src/core/codemirror/cm.ts
index f3a969e26c..793e76cd02 100644
--- a/frontend/src/core/codemirror/cm.ts
+++ b/frontend/src/core/codemirror/cm.ts
@@ -20,7 +20,6 @@ import {
indentUnit,
syntaxHighlighting,
} from "@codemirror/language";
-import { lintKeymap } from "@codemirror/lint";
import {
drawSelection,
dropCursor,
@@ -143,7 +142,7 @@ export const basicBundle = (opts: CodeMirrorSetupOpts): Extension[] => {
indentOnInput(),
indentUnit.of(" "),
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
- keymap.of([...foldKeymap, ...lintKeymap]),
+ keymap.of(foldKeymap),
///// Language Support
adaptiveLanguageConfiguration(opts),