@exercism/codemirror-lang-nim 0.0.0-stage → 1.0.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.
@@ -0,0 +1,15 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
3
+ /// Snippets for the constructs people type most often.
4
+ declare const snippets: readonly Completion[];
5
+ /// Completes names declared in the file (procs, variables, parameters,
6
+ /// types and enum members), each only where it is in scope. After a dot it
7
+ /// offers the fields and procs declared in the file.
8
+ declare const localCompletionSource: CompletionSource;
9
+ /// Completes keywords, snippets, built-in types and common standard library
10
+ /// procs. In an `import` it offers the standard library's modules, and after
11
+ /// a dot the common procs that are called that way.
12
+ declare const nimCompletion: CompletionSource;
13
+ declare const nimLanguage: LRLanguage;
14
+ declare function nim(): LanguageSupport;
15
+ export { localCompletionSource, nimCompletion, snippets, nimLanguage, nim };
@@ -0,0 +1,15 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
3
+ /// Snippets for the constructs people type most often.
4
+ declare const snippets: readonly Completion[];
5
+ /// Completes names declared in the file (procs, variables, parameters,
6
+ /// types and enum members), each only where it is in scope. After a dot it
7
+ /// offers the fields and procs declared in the file.
8
+ declare const localCompletionSource: CompletionSource;
9
+ /// Completes keywords, snippets, built-in types and common standard library
10
+ /// procs. In an `import` it offers the standard library's modules, and after
11
+ /// a dot the common procs that are called that way.
12
+ declare const nimCompletion: CompletionSource;
13
+ declare const nimLanguage: LRLanguage;
14
+ declare function nim(): LanguageSupport;
15
+ export { localCompletionSource, nimCompletion, snippets, nimLanguage, nim };