Set indentUnit to 4 spaces
This commit is contained in:
parent
7291bbee1b
commit
b7f51e099e
|
|
@ -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,
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue