Editor: make --ts-version false disable version detection

This commit is contained in:
李通洲
2024-07-03 13:59:39 +08:00
parent 96e7f65902
commit 84540250f7
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -26,6 +26,8 @@ const char* ffDetectEditor(FFEditorResult* result)
return "$VISUAL or $EDITOR not set";
}
if (!instance.config.display.tsVersion) return NULL;
#ifndef _WIN32
if (result->name.chars[0] != '/')
{