diff --git a/base/interactiveutil.jl b/base/interactiveutil.jl index 83c01d1cadfd6..a921ec9261ab1 100644 --- a/base/interactiveutil.jl +++ b/base/interactiveutil.jl @@ -27,7 +27,7 @@ function edit(file::AbstractString, line::Integer) no_line_msg = "Unknown editor: no line number information passed.\nThe method is defined at line $line." if beginswith(edname, "emacs") || edname == "gedit" spawn(`$edpath +$line $file`) - elseif edname == "vim" || edname == "nano" + elseif edname == "vim" || edname == "nvim" || edname == "nano" run(`$edpath +$line $file`) elseif edname == "textmate" || edname == "mate" || edname == "kate" spawn(`$edpath $file -l $line`)