Skip to content

Commit

Permalink
feat: detect if in (n)vim editor (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbe committed Dec 19, 2023
1 parent 27b7fe4 commit 5ea1e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory.ts
Expand Up @@ -55,7 +55,7 @@ export async function antfu(
const {
componentExts = [],
gitignore: enableGitignore = true,
isInEditor = !!((process.env.VSCODE_PID || process.env.JETBRAINS_IDE) && !process.env.CI),
isInEditor = !!((process.env.VSCODE_PID || process.env.JETBRAINS_IDE || process.env.VIM) && !process.env.CI),
overrides = {},
react: enableReact = false,
typescript: enableTypeScript = isPackageExists('typescript'),
Expand Down

0 comments on commit 5ea1e2e

Please sign in to comment.