1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-03-06 18:32:51 +01:00

Add customisation for surround with for

This commit is contained in:
Alex Plate 2019-10-25 19:58:00 +03:00
parent 6a1e8a0c22
commit 150f9190d5
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -65,7 +65,7 @@ object IdeaSpecifics {
}
private object VimActionListener : AnActionListener {
private val surrounderItems = listOf("if", "if / else")
private val surrounderItems = listOf("if", "if / else", "for")
private val surrounderAction = "com.intellij.codeInsight.generation.surroundWith.SurroundWithHandler\$InvokeSurrounderAction"
private var editor: Editor? = null
override fun beforeActionPerformed(action: AnAction, dataContext: DataContext, event: AnActionEvent) {