Skip to content

Commit

Permalink
Turn write action while executing the IJ action into an error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPl292 committed Feb 24, 2025
1 parent 9b1da76 commit 4025619
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4025619

Please sign in to comment.