Skip to content

Commit

Permalink
feat: add nvim support for isInEditor (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Jun 18, 2024
1 parent 97ba243 commit 8f992fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function antfu(
autoRenamePlugins = true,
componentExts = [],
gitignore: enableGitignore = true,
isInEditor = !!((process.env.VSCODE_PID || process.env.VSCODE_CWD || process.env.JETBRAINS_IDE || process.env.VIM) && !process.env.CI),
isInEditor = !!((process.env.VSCODE_PID || process.env.VSCODE_CWD || process.env.JETBRAINS_IDE || process.env.VIM || process.env.NVIM) && !process.env.CI),
jsx: enableJsx = true,
react: enableReact = false,
regexp: enableRegexp = true,
Expand Down

0 comments on commit 8f992fe

Please sign in to comment.