[add] rex build jar
This commit is contained in:
parent
2078055d05
commit
c8e4f928b1
19 changed files with 8211 additions and 5119 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { EditorState } from '@codemirror/state';
|
||||
import { openSearchPanel, highlightSelectionMatches,searchKeymap } from '@codemirror/search';
|
||||
import {openLintPanel, lintGutter, lintKeymap,linter,setDiagnostics} from "@codemirror/lint"
|
||||
import {openLintPanel, lintGutter, lintKeymap,linter,setDiagnostics,} from "@codemirror/lint"
|
||||
import { indentWithTab, history, defaultKeymap, historyKeymap } from '@codemirror/commands';
|
||||
import { foldGutter, indentOnInput, indentUnit, bracketMatching, foldKeymap, syntaxHighlighting, defaultHighlightStyle } from '@codemirror/language';
|
||||
import { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';
|
||||
|
|
@ -28,10 +28,6 @@ function simpleWebSocketTransport(uri) {
|
|||
|
||||
});
|
||||
};
|
||||
function client(transport){
|
||||
return new LSPClient().connect(transport)
|
||||
};
|
||||
|
||||
|
||||
const baseExts = [
|
||||
lineNumbers(),
|
||||
|
|
@ -80,6 +76,10 @@ function createEditorState(initialContents, extensions,options = {}) {
|
|||
function createEditorView(state, parent) {
|
||||
return new EditorView({ state, parent });
|
||||
}
|
||||
class xqLinter {
|
||||
constructor(parameters) {
|
||||
this.fred=parameters;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export { createEditorState, createEditorView, openSearchPanel,openLintPanel, languageServerSupport, baseExts ,client, simpleWebSocketTransport,linter, LSPPlugin,setDiagnostics};
|
||||
export { createEditorState, createEditorView, openSearchPanel,openLintPanel, languageServerSupport, baseExts , simpleWebSocketTransport,linter, LSPPlugin,setDiagnostics,xqLinter,LSPClient};
|
||||
Loading…
Add table
Add a link
Reference in a new issue