1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-02-25 02:46:01 +01:00

Update formatting

This commit is contained in:
Alex Plate 2022-10-02 00:26:29 +00:00
parent 2103163207
commit 45f18ff91c
2 changed files with 3 additions and 4 deletions
build.gradle.kts
src/main/java/com/maddyhome/idea/vim/statistic

View File

@ -336,12 +336,12 @@ tasks.register("slackNotification") {
}
// Uncomment to enable FUS testing mode
//tasks {
// tasks {
// withType<org.jetbrains.intellij.tasks.RunIdeTask> {
// jvmArgs("-Didea.is.internal=true")
// jvmArgs("-Dfus.internal.test.mode=true")
// }
//}
// }
// --- Update authors
tasks.register("updateAuthors") {

View File

@ -23,7 +23,6 @@ import com.intellij.internal.statistic.eventLog.EventLogGroup
import com.intellij.internal.statistic.eventLog.events.EventFields
import com.intellij.internal.statistic.eventLog.events.EventPair
import com.intellij.internal.statistic.eventLog.events.StringListEventField
import com.intellij.internal.statistic.eventLog.events.VarargEventId
import com.intellij.internal.statistic.service.fus.collectors.ApplicationUsagesCollector
import com.maddyhome.idea.vim.VimPlugin
import com.maddyhome.idea.vim.api.injector
@ -47,7 +46,7 @@ internal class ShortcutConflictState : ApplicationUsagesCollector() {
return metrics
}
fun StringListEventField.withKeyStroke(ks: KeyStroke): EventPair<List<String>> {
fun StringListEventField.withKeyStroke(ks: KeyStroke): EventPair<List<String>> {
return this.with(getHandlersForShortcut(ks).map { it.name })
}