Skip to content

Commit

Permalink
[VIM-2255] Missing reload icon in .ideavimrc on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chylex authored and AlexPl292 committed Oct 29, 2021
1 parent 6febc4d commit 637ae21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/maddyhome/idea/vim/ui/ReloadVimRc.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 637ae21

Please sign in to comment.