mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-04-23 13:15:45 +02:00
Wait for the action to be finished before returning the result
This commit is contained in:
parent
572af0d349
commit
3d1b502cd0
@ -88,6 +88,7 @@ internal class IjActionExecutor : VimActionExecutor {
|
||||
try {
|
||||
isRunningActionFromVim = true
|
||||
val res = ActionManager.getInstance().tryToExecute(ijAction, null, editor?.ij?.component, "IdeaVim", true)
|
||||
res.waitFor(5_000)
|
||||
return res.isDone
|
||||
} finally {
|
||||
isRunningActionFromVim = false
|
||||
|
Loading…
Reference in New Issue
Block a user