diff --git a/javascript/tagAutocomplete.js b/javascript/tagAutocomplete.js index 02455fa..5b66a43 100644 --- a/javascript/tagAutocomplete.js +++ b/javascript/tagAutocomplete.js @@ -375,7 +375,7 @@ async function insertTextAtCursor(textArea, result, tagword, tabCompletedWithout } } - if (tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard + if ((tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard) && tabCompletedWithoutChoice && TAC_CFG.wildcardCompletionMode !== "Always fully" && sanitizedText.includes("/")) {