[mod] add format
This commit is contained in:
parent
253eb62c07
commit
df114e8005
4 changed files with 10 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ import { foldGutter, indentOnInput, indentUnit, bracketMatching, foldKeymap,
|
|||
|
||||
import { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';
|
||||
|
||||
import { LSPClient, LSPPlugin, languageServerSupport, languageServerExtensions } from "@codemirror/lsp-client";
|
||||
import { LSPClient, LSPPlugin, languageServerSupport, languageServerExtensions,formatDocument } from "@codemirror/lsp-client";
|
||||
|
||||
import { xQuery } from "@codemirror/legacy-modes/mode/xquery"
|
||||
|
||||
|
|
@ -112,4 +112,4 @@ function listCommands(view) {
|
|||
|
||||
export { baseExts, EditorView, EditorState, StateEffect, LSPPlugin, LSPClient,
|
||||
openSearchPanel, openLintPanel, languageServerSupport, languageServerExtensions,
|
||||
simpleWebSocketTransport, linter, setDiagnostics, debouncedChangeListener, listCommands };
|
||||
simpleWebSocketTransport, linter, formatDocument, debouncedChangeListener, listCommands };
|
||||
Loading…
Add table
Add a link
Reference in a new issue