Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"pretest": "npm run compile",
"test": "npm run test-webview && npm run test-extension",
"test-extension": "cross-env NODE_OPTIONS=--no-force-async-hooks-checks xvfb-maybe node ./out/test/runTest.js",
"test-webview": "mocha -r ts-node/register --grep=\"${MOCHA_GREP}\" --file ./src/test/setup-webview.ts src/test/suite/views/webview-app/**/*.test.tsx",
"test-webview": "cross-env NODE_OPTIONS='--no-experimental-strip-types' mocha -r ts-node/register --grep=\"${MOCHA_GREP}\" --file ./src/test/setup-webview.ts src/test/suite/views/webview-app/**/*.test.tsx",
"ai-accuracy-tests": "env TS_NODE_FILES=true mocha -r ts-node/register --grep=\"${MOCHA_GREP}\" --file ./src/test/ai-accuracy-tests/test-setup.ts ./src/test/ai-accuracy-tests/ai-accuracy-tests.ts",
"analyze-bundle": "webpack --mode production --analyze",
"vscode:prepublish": "npm run clean && npm run compile:constants && npm run compile:resources && webpack --mode production",
Expand Down
36 changes: 36 additions & 0 deletions syntaxes/mongodbInjection.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,33 @@
}
}
},
{
"name": "meta.object.member.mongodb",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like some auto-generated that was missed from previous PRs

"match": "\\$similarityCosine\\b",
"captures": {
"0": {
"name": "keyword.other.$similarityCosine.mongodb"
}
}
},
{
"name": "meta.object.member.mongodb",
"match": "\\$similarityDotProduct\\b",
"captures": {
"0": {
"name": "keyword.other.$similarityDotProduct.mongodb"
}
}
},
{
"name": "meta.object.member.mongodb",
"match": "\\$similarityEuclidean\\b",
"captures": {
"0": {
"name": "keyword.other.$similarityEuclidean.mongodb"
}
}
},
{
"name": "meta.object.member.mongodb",
"match": "\\$size\\b",
Expand Down Expand Up @@ -1962,6 +1989,15 @@
}
}
},
{
"name": "meta.object.member.mongodb",
"match": "\\$scoreFusion\\b",
"captures": {
"0": {
"name": "keyword.other.$scoreFusion.mongodb"
}
}
},
{
"name": "meta.object.member.mongodb",
"match": "\\$search\\b",
Expand Down
Loading