Skip to content

Commit acb4a99

Browse files
committed
feat: ArduinoInfo only shows the relevant verify command
1 parent ab9bc34 commit acb4a99

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

autoload/arduino.vim

+5-2
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,11 @@ function! arduino#GetInfo() abort
673673
echo "Port : " . port
674674
echo "Baud rate : " . g:arduino_serial_baud
675675
echo "Hardware dirs : " . dirs
676-
echo "Verify command: " . arduino#GetArduinoCommand("--verify")
677-
echo "CLI command : " . arduino#GetCLICompileCommand()
676+
if g:arduino_use_cli
677+
echo "Verify command: " . arduino#GetCLICompileCommand()
678+
else
679+
echo "Verify command: " . arduino#GetArduinoCommand("--verify")
680+
endif
678681
endfunction
679682

680683
" vim:fen:fdm=marker:fmr={{{,}}}

0 commit comments

Comments
 (0)