mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-02 16:22:31 +01:00
Don't read .vimrc during unit testing
This commit is contained in:
parent
f588e473a1
commit
c3259faf42
@ -178,9 +178,11 @@ public class VimPlugin implements ApplicationComponent, PersistentStateComponent
|
||||
// Register ex handlers
|
||||
CommandParser.getInstance().registerHandlers();
|
||||
|
||||
final File vimrc = VimrcParser.findVimrc();
|
||||
if (vimrc != null) {
|
||||
VimrcParser.executeFile(vimrc);
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
final File vimrc = VimrcParser.findVimrc();
|
||||
if (vimrc != null) {
|
||||
VimrcParser.executeFile(vimrc);
|
||||
}
|
||||
}
|
||||
|
||||
LOG.debug("done");
|
||||
|
Loading…
Reference in New Issue
Block a user