diff options
-rw-r--r-- | src/nvim/os/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index 71e76e2a78..2621d9da74 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -298,7 +298,7 @@ static bool is_executable(const char *name, char_u **abspath) #ifdef WIN32 /// Checks if file `name` is executable under one of these conditions: -/// - if the file extension is in $PATHEXT +/// - if the file extension is in $PATHEXT and `name` is executable /// - if the result of any $PATHEXT extension appended to `name` is executable static bool is_executable_ext(char *name, char_u **abspath) FUNC_ATTR_NONNULL_ARG(1, 2) |