refactor: environment highlighing in editors - improve #1834

This commit is contained in:
liyasthomas
2021-12-12 21:10:05 +05:30
parent fe5fe03b3c
commit 4e0bb1a243
13 changed files with 15 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ useCodemirror(generatedCode, requestCode, {
},
linter: null,
completer: null,
environmentHighlights: false,
})
watch(

View File

@@ -182,6 +182,7 @@ useCodemirror(bulkEditor, bulkHeaders, {
},
linter: null,
completer: null,
environmentHighlights: true,
})
watch(bulkHeaders, () => {

View File

@@ -47,6 +47,7 @@ useCodemirror(curlEditor, curl, {
},
linter: null,
completer: null,
environmentHighlights: false,
})
defineProps<{ show: boolean }>()

View File

@@ -189,6 +189,7 @@ useCodemirror(bulkEditor, bulkParams, {
},
linter: null,
completer: null,
environmentHighlights: true,
})
const params$ = useReadonlyStream(restParams$, [])

View File

@@ -88,6 +88,7 @@ useCodemirror(
},
linter,
completer,
environmentHighlights: false,
})
)

View File

@@ -88,6 +88,7 @@ useCodemirror(
},
linter,
completer,
environmentHighlights: false,
})
)