1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-08 15:34:07 +02:00

Turn write action while executing the IJ action into an error

This commit is contained in:
Alex Plate 2025-02-24 14:40:42 +02:00
parent 9b1da76499
commit 4025619b48
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -74,9 +74,8 @@ internal class IjActionExecutor : VimActionExecutor {
override fun executeAction(editor: VimEditor?, action: NativeAction, context: ExecutionContext): Boolean {
val applicationEx = ApplicationManagerEx.getApplicationEx()
if (ProgressIndicatorUtils.isWriteActionRunningOrPending(applicationEx)) {
// This is needed for VIM-3376 and it should turn into error at soeme moment
// thisLogger().error("Actions cannot be updated when write-action is running or pending")
thisLogger().warn("Actions cannot be updated when write-action is running or pending")
// This is needed for VIM-3376
thisLogger().error("Actions cannot be updated when write-action is running or pending")
}
val ijAction = (action as IjNativeAction).action