We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b67be commit c447bceCopy full SHA for c447bce
packages/neovim/src/utils/findNvim.ts
@@ -197,8 +197,8 @@ export function findNvim(opt: FindNvimOptions = {}): Readonly<FindNvimResult> {
197
const nvimExecutable = windows ? 'nvim.exe' : 'nvim';
198
199
const allPaths = new Set<string>([
200
- ...(opt.paths || []).map(normalizePath),
201
- ...(opt.dirs || []).map(dir => normalizePath(join(dir, nvimExecutable))),
+ ...(opt.paths ?? []).map(normalizePath),
+ ...(opt.dirs ?? []).map(dir => normalizePath(join(dir, nvimExecutable))),
202
...[...platformDirs].map(dir => join(dir, nvimExecutable)),
203
]);
204
0 commit comments