Skip to content

Commit dd1b9c2

Browse files
committed
feat: add nvim support for isInEditor
1 parent 8274b68 commit dd1b9c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/env.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export const isInEditor = !!(
55
(process.env.VSCODE_PID
66
|| process.env.VSCODE_CWD
77
|| process.env.JETBRAINS_IDE
8-
|| process.env.VIM)
8+
|| process.env.VIM
9+
|| process.env.NVIM)
910
&& !process.env.CI
1011
)
1112
export const hasTypeScript = isPackageExists('typescript')

0 commit comments

Comments
 (0)