diff --git a/src/main/java/com/maddyhome/idea/vim/ui/ReloadVimRc.kt b/src/main/java/com/maddyhome/idea/vim/ui/ReloadVimRc.kt index 4c036c6a17..06fbc815c4 100644 --- a/src/main/java/com/maddyhome/idea/vim/ui/ReloadVimRc.kt +++ b/src/main/java/com/maddyhome/idea/vim/ui/ReloadVimRc.kt @@ -116,7 +116,7 @@ class ReloadVimRc : DumbAwareAction() { return } - if (virtualFile.path != VimRcFileState.filePath) { + if (FileUtil.toSystemDependentName(virtualFile.path) != VimRcFileState.filePath) { e.presentation.isEnabledAndVisible = false return }