refactor: environment highlighing in editors - improve #1834
This commit is contained in:
@@ -109,6 +109,7 @@ useCodemirror(generatedCode, requestCode, {
|
||||
},
|
||||
linter: null,
|
||||
completer: null,
|
||||
environmentHighlights: false,
|
||||
})
|
||||
|
||||
watch(
|
||||
|
||||
@@ -182,6 +182,7 @@ useCodemirror(bulkEditor, bulkHeaders, {
|
||||
},
|
||||
linter: null,
|
||||
completer: null,
|
||||
environmentHighlights: true,
|
||||
})
|
||||
|
||||
watch(bulkHeaders, () => {
|
||||
|
||||
@@ -47,6 +47,7 @@ useCodemirror(curlEditor, curl, {
|
||||
},
|
||||
linter: null,
|
||||
completer: null,
|
||||
environmentHighlights: false,
|
||||
})
|
||||
|
||||
defineProps<{ show: boolean }>()
|
||||
|
||||
@@ -189,6 +189,7 @@ useCodemirror(bulkEditor, bulkParams, {
|
||||
},
|
||||
linter: null,
|
||||
completer: null,
|
||||
environmentHighlights: true,
|
||||
})
|
||||
|
||||
const params$ = useReadonlyStream(restParams$, [])
|
||||
|
||||
@@ -88,6 +88,7 @@ useCodemirror(
|
||||
},
|
||||
linter,
|
||||
completer,
|
||||
environmentHighlights: false,
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ useCodemirror(
|
||||
},
|
||||
linter,
|
||||
completer,
|
||||
environmentHighlights: false,
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user