@exercism/codemirror-lang-vimscript 0.0.0-stage → 1.0.0
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/LICENSE +21 -0
- package/README.md +102 -2
- package/dist/index.cjs +1310 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1304 -0
- package/package.json +51 -4
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from "@codemirror/language";
|
|
2
|
+
import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
3
|
+
declare const vimscriptLanguage: LRLanguage;
|
|
4
|
+
declare function vimscript(): LanguageSupport;
|
|
5
|
+
/// Snippets for the common blocks, offered where a command can start.
|
|
6
|
+
declare const snippets: readonly Completion[];
|
|
7
|
+
/// Offers Ex commands and snippets where a command can start, and built-in
|
|
8
|
+
/// functions, `v:` variables and scope prefixes inside expressions.
|
|
9
|
+
declare const globalCompletion: CompletionSource;
|
|
10
|
+
/// Offers the names declared in the file that are in scope at the cursor:
|
|
11
|
+
/// functions, variables set with `let`, function arguments as `a:name`, and
|
|
12
|
+
/// lambda parameters. After a `.` it offers the dictionary keys used in the
|
|
13
|
+
/// file.
|
|
14
|
+
declare const localCompletionSource: CompletionSource;
|
|
15
|
+
export { vimscriptLanguage, vimscript, localCompletionSource, globalCompletion, snippets };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from "@codemirror/language";
|
|
2
|
+
import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
3
|
+
declare const vimscriptLanguage: LRLanguage;
|
|
4
|
+
declare function vimscript(): LanguageSupport;
|
|
5
|
+
/// Snippets for the common blocks, offered where a command can start.
|
|
6
|
+
declare const snippets: readonly Completion[];
|
|
7
|
+
/// Offers Ex commands and snippets where a command can start, and built-in
|
|
8
|
+
/// functions, `v:` variables and scope prefixes inside expressions.
|
|
9
|
+
declare const globalCompletion: CompletionSource;
|
|
10
|
+
/// Offers the names declared in the file that are in scope at the cursor:
|
|
11
|
+
/// functions, variables set with `let`, function arguments as `a:name`, and
|
|
12
|
+
/// lambda parameters. After a `.` it offers the dictionary keys used in the
|
|
13
|
+
/// file.
|
|
14
|
+
declare const localCompletionSource: CompletionSource;
|
|
15
|
+
export { vimscriptLanguage, vimscript, localCompletionSource, globalCompletion, snippets };
|