mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-22 00:11:56 +01:00
Some postman import improvements
This commit is contained in:
1 parent
8381104302
commit
b519bff3d6
9 files changed
+464
-145
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import type { CompletionContext } from '@codemirror/autocomplete';
|
||||
import { w } from '@tauri-apps/api/clipboard-79413165';
|
||||
|
||||
const openTag = '${[ ';
|
||||
const closeTag = ' ]}';
|
||||
@@ -12,8 +11,8 @@ export interface TwigCompletionConfig {
|
||||
options: TwigCompletionOption[];
|
||||
}
|
||||
|
||||
const MIN_MATCH_VAR = 2;
|
||||
const MIN_MATCH_NAME = 1;
|
||||
const MIN_MATCH_VAR = 1;
|
||||
const MIN_MATCH_NAME = 2;
|
||||
|
||||
export function twigCompletion({ options }: TwigCompletionConfig) {
|
||||
return function completions(context: CompletionContext) {
|
||||
|
||||
Reference in new issue
Block a user