codemirror-languageserver 1.22.0 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/plugin.d.ts +1 -1
- package/docs/index.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -167,7 +167,7 @@ import { formatDocument, formatSelection } from 'codemirror-languageserver';
|
|
|
167
167
|
|
|
168
168
|
const formattingKeymap = keymap.of([
|
|
169
169
|
{ key: 'Shift-Alt-f', run: formatDocument },
|
|
170
|
-
{ key: '
|
|
170
|
+
{ key: 'Shift-Alt-g', run: formatSelection },
|
|
171
171
|
]);
|
|
172
172
|
```
|
|
173
173
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { LanguageServerClient, languageServerPlugin, SynchronizationMethod, } from './plugin';
|
|
2
|
-
export { WebSocketTransport } from './jsonrpc';
|
|
3
|
-
export type { Transport } from './jsonrpc';
|
|
4
|
-
export { jumpToDefinition, jumpToDefinitionPos, jumpToDefinitionKeymap, } from './definition';
|
|
5
|
-
export { formatDocument, formatSelection, formattingOptions, } from './formatting';
|
|
6
|
-
export { renameSymbol } from './rename';
|
|
7
|
-
export { PyrightInitializationOptions, RustAnalyzerInitializationOptions, TypeScriptInitializationOptions, ESLintInitializationOptions, ClangdInitializationOptions, GoplsInitializationOptions, } from './initialization';
|
|
8
|
-
import { LanguageServerClient, SynchronizationMethod } from './plugin';
|
|
9
|
-
import type { LanguageServerClientOptions, LanguageServerBaseOptions } from './plugin';
|
|
1
|
+
export { LanguageServerClient, languageServerPlugin, SynchronizationMethod, } from './plugin.js';
|
|
2
|
+
export { WebSocketTransport } from './jsonrpc.js';
|
|
3
|
+
export type { Transport } from './jsonrpc.js';
|
|
4
|
+
export { jumpToDefinition, jumpToDefinitionPos, jumpToDefinitionKeymap, } from './definition.js';
|
|
5
|
+
export { formatDocument, formatSelection, formattingOptions, } from './formatting.js';
|
|
6
|
+
export { renameSymbol } from './rename.js';
|
|
7
|
+
export { PyrightInitializationOptions, RustAnalyzerInitializationOptions, TypeScriptInitializationOptions, ESLintInitializationOptions, ClangdInitializationOptions, GoplsInitializationOptions, } from './initialization.js';
|
|
8
|
+
import { LanguageServerClient, SynchronizationMethod } from './plugin.js';
|
|
9
|
+
import type { LanguageServerClientOptions, LanguageServerBaseOptions } from './plugin.js';
|
|
10
10
|
interface LanguageServerOptions<InitializationOptions = unknown> extends LanguageServerClientOptions<InitializationOptions> {
|
|
11
11
|
client?: LanguageServerClient<InitializationOptions>;
|
|
12
12
|
allowHTMLContent?: boolean;
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorView, Tooltip, ViewPlugin } from '@codemirror/view';
|
|
2
|
-
import type { Transport } from './jsonrpc';
|
|
2
|
+
import type { Transport } from './jsonrpc.js';
|
|
3
3
|
import { CompletionTriggerKind } from 'vscode-languageserver-protocol';
|
|
4
4
|
import type { CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
|
5
5
|
import type { PluginValue, ViewUpdate } from '@codemirror/view';
|
package/docs/index.html
CHANGED