Skip to content

Commit 422ddc0

Browse files
JeanMertzda-x
authored andcommitted
use terminal in nvim
1 parent af2fb77 commit 422ddc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ function! rust#Test(all, options) abort
505505
return rust#Run(1, '--test ' . a:options)
506506
endif
507507

508-
if has('terminal')
508+
if has('terminal') || has('nvim')
509509
let cmd = 'terminal '
510510
else
511511
let cmd = '!'

0 commit comments

Comments
 (0)