mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-11 14:45:30 +00:00
chore: remove debug statements
This commit is contained in:
@@ -51,7 +51,6 @@ export function getTriggerText(line: string, cursorPos: number): [string, number
|
|||||||
*/
|
*/
|
||||||
function getTriggerTextFromRegex(line: string, cursorPos: number, regex: RegExp): [string, number, number] | null {
|
function getTriggerTextFromRegex(line: string, cursorPos: number, regex: RegExp): [string, number, number] | null {
|
||||||
let matches = Array.from(line.matchAll(regex));
|
let matches = Array.from(line.matchAll(regex));
|
||||||
console.log(matches);
|
|
||||||
for (const match of matches) {
|
for (const match of matches) {
|
||||||
if (match.index === undefined) {
|
if (match.index === undefined) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user