fix(editor): include SQL Server variable prefix in word selection

This commit is contained in:
Eve authored and GitHub committed 2026-09-10 12:44:23 +08:00
1 parent 2cee2da21d
commit d48167ef66
3 files changed
+19 -2

No files matched your search

@@ -18,3 +18,7 @@ export function queryEditorCommentTokens(dbType?: DatabaseType) {
block: { open: "/*", close: "*/" },
};
}
export function queryEditorWordLanguageData(dbType?: DatabaseType) {
return dbType === "sqlserver" ? [{ wordChars: "@" }] : [];
}