mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-07 18:48:39 +00:00
lint
This commit is contained in:
@@ -14,8 +14,7 @@ import {
|
|||||||
drawSelection,
|
drawSelection,
|
||||||
dropCursor,
|
dropCursor,
|
||||||
} from '@codemirror/view';
|
} from '@codemirror/view';
|
||||||
import { EditorState, Compartment } from '@codemirror/state';
|
import { EditorState, Compartment, StateEffect, StateField } from '@codemirror/state';
|
||||||
import { StateEffect, StateField } from '@codemirror/state';
|
|
||||||
import { foldAll as foldAllCmd, unfoldAll as unfoldAllCmd, foldGutter, foldKeymap, syntaxHighlighting } from '@codemirror/language';
|
import { foldAll as foldAllCmd, unfoldAll as unfoldAllCmd, foldGutter, foldKeymap, syntaxHighlighting } from '@codemirror/language';
|
||||||
import { defaultKeymap, history, undo, redo, undoDepth, redoDepth } from '@codemirror/commands';
|
import { defaultKeymap, history, undo, redo, undoDepth, redoDepth } from '@codemirror/commands';
|
||||||
import { languages } from '@codemirror/language-data';
|
import { languages } from '@codemirror/language-data';
|
||||||
@@ -96,6 +95,8 @@ const createHighlightPlugin = (renderer, tab)=>{
|
|||||||
{ decorations: (v)=>v.decorations }
|
{ decorations: (v)=>v.decorations }
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const setProgrammaticCursorLine = StateEffect.define();
|
const setProgrammaticCursorLine = StateEffect.define();
|
||||||
|
|
||||||
const programmaticCursorLineField = StateField.define({
|
const programmaticCursorLineField = StateField.define({
|
||||||
|
|||||||
Reference in New Issue
Block a user