From 9bc564d4c8f2e1e697f6b3c95ab9ecc9f6aa9a57 Mon Sep 17 00:00:00 2001 From: eduauto Date: Fri, 5 Jan 2024 10:30:30 +0800 Subject: [PATCH] autoUpdataFile --- 59554.async.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/59554.async.js b/59554.async.js index ad4bba2c17..a11b226f37 100644 --- a/59554.async.js +++ b/59554.async.js @@ -326,7 +326,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) { var keywords = []; var match; while (match = keywordRegex.exec(codeText)) { - keywords.push(match[0]); + if (!cLangage.keywords.includes(match[0])) keywords.push(match[0]); } var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) { return { @@ -367,7 +367,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) { var keywords = []; var match; while (match = keywordRegex.exec(codeText)) { - keywords.push(match[0]); + if (!javaLangage.keywords.includes(match[0])) keywords.push(match[0]); } var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) { return { @@ -454,7 +454,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) { var keywords = []; var match; while (match = keywordRegex.exec(codeText)) { - keywords.push(match[0]); + if (!pythonLangage.keywords.includes(match[0])) keywords.push(match[0]); } var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) { return {