mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-31 16:34:06 +02:00
Turn write action while executing the IJ action into an error
This commit is contained in:
parent
9b1da76499
commit
4025619b48
@ -74,9 +74,8 @@ internal class IjActionExecutor : VimActionExecutor {
|
|||||||
override fun executeAction(editor: VimEditor?, action: NativeAction, context: ExecutionContext): Boolean {
|
override fun executeAction(editor: VimEditor?, action: NativeAction, context: ExecutionContext): Boolean {
|
||||||
val applicationEx = ApplicationManagerEx.getApplicationEx()
|
val applicationEx = ApplicationManagerEx.getApplicationEx()
|
||||||
if (ProgressIndicatorUtils.isWriteActionRunningOrPending(applicationEx)) {
|
if (ProgressIndicatorUtils.isWriteActionRunningOrPending(applicationEx)) {
|
||||||
// This is needed for VIM-3376 and it should turn into error at soeme moment
|
// This is needed for VIM-3376
|
||||||
// thisLogger().error("Actions cannot be updated when write-action is running or pending")
|
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")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val ijAction = (action as IjNativeAction).action
|
val ijAction = (action as IjNativeAction).action
|
||||||
|
Loading…
Reference in New Issue
Block a user