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

@@ -307,6 +307,7 @@ useCodemirror(bulkEditor, bulkHeaders, {
},
linter: null,
completer: null,
environmentHighlights: false,
})
const variableEditor = ref<any | null>(null)
@@ -318,6 +319,7 @@ useCodemirror(variableEditor, variableString, {
},
linter: jsonLinter,
completer: null,
environmentHighlights: false,
})
const queryEditor = ref<any | null>(null)
@@ -330,6 +332,7 @@ useCodemirror(queryEditor, gqlQueryString, {
},
linter: createGQLQueryLinter(schemaString),
completer: queryCompleter(schemaString),
environmentHighlights: false,
})
const copyQueryIcon = ref("copy")

View File

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

View File

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