mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-30 04:03:32 +02:00
don't emit an error message when ~/.vimperatorrc doesn't exist
This commit is contained in:
@@ -655,7 +655,7 @@ const vimperator = (function() //{{{
|
|||||||
// finally, read a ~/.vimperatorrc
|
// finally, read a ~/.vimperatorrc
|
||||||
// make sourcing asynchronous, otherwise commands that open new tabs won't work
|
// make sourcing asynchronous, otherwise commands that open new tabs won't work
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
vimperator.source("~/.vimperatorrc", false);
|
vimperator.source("~/.vimperatorrc", true);
|
||||||
vimperator.log("~/.vimperatorrc sourced", 1);
|
vimperator.log("~/.vimperatorrc sourced", 1);
|
||||||
|
|
||||||
// also source plugins in ~/.vimperator/plugin/
|
// also source plugins in ~/.vimperator/plugin/
|
||||||
|
|||||||
Reference in New Issue
Block a user