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