1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-06 12:34:03 +02:00

Fix the incorrect variable name

This commit is contained in:
Alex Plate 2025-01-27 10:46:21 +02:00
parent 304562a2db
commit 1d77b0b059
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
2 changed files with 3 additions and 3 deletions
src/main/java/com/maddyhome/idea/vim

View File

@ -41,8 +41,8 @@ internal class PluginStartup : ProjectActivity/*, LightEditCompatible*/ {
if (firstInitializationOccurred) return
firstInitializationOccurred = true
if (!VimPlugin.getVimState().wasSubscibedToEAPAutomatically && ApplicationManager.getApplication().isEAP && !JoinEap.eapActive()) {
VimPlugin.getVimState().wasSubscibedToEAPAutomatically = true
if (!VimPlugin.getVimState().wasSubscribedToEAPAutomatically && ApplicationManager.getApplication().isEAP && !JoinEap.eapActive()) {
VimPlugin.getVimState().wasSubscribedToEAPAutomatically = true
UpdateSettings.getInstance().storedPluginHosts += EAP_LINK
}

View File

@ -18,7 +18,7 @@ import kotlin.reflect.KProperty
internal class VimState {
var isIdeaJoinNotified by StateProperty("idea-join")
var isIdeaPutNotified by StateProperty("idea-put")
var wasSubscibedToEAPAutomatically by StateProperty("was-automatically-subscribed-to-eap")
var wasSubscribedToEAPAutomatically by StateProperty("was-automatically-subscribed-to-eap")
fun readData(element: Element) {
val notifications = element.getChild("notifications")