fix: edit_command_buffer with micro without parsecursor

micro only parses the [FILE]:LINE:COL syntax
if the parsecursor option is enabed

in the meanwhile, the +LINE:COL syntax is unambiguous and always valid
This commit is contained in:
Chloe Kudryavtsev 2022-04-24 09:03:37 -04:00 committed by Johannes Altmanninger
parent 1bba97984b
commit 8c7ba5efea

View file

@ -56,7 +56,7 @@ function edit_command_buffer --description 'Edit the command buffer in an extern
case subl
set -a editor $f:$line:$col --wait
case micro
set -a editor $f:$line:$col
set -a editor $f +$line:$col
case '*'
set -a editor $f
end