Set indentUnit to 4 spaces

This commit is contained in:
Quinten Kock 2025-11-30 02:49:06 +01:00
parent 7291bbee1b
commit b7f51e099e
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import {
indentOnInput,
bracketMatching,
foldKeymap,
indentUnit,
} from "@codemirror/language";
import { languages } from "@codemirror/language-data";
import { autocompletion, closeBrackets } from "@codemirror/autocomplete";
@ -144,6 +145,7 @@ export class Editor implements Displayable {
highlightActiveLine(),
highlightActiveLineGutter(),
highlightSelectionMatches(),
indentUnit.of(" "),
// lintKeymap,
],
});