mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:18:00 +01:00
saving abbreviations with :mkvimperatorrc works; also added :source! ~/.vimperatorrc.local to :mkv
This commit is contained in:
@@ -500,8 +500,15 @@ const vimperator = (function() //{{{
|
||||
|
||||
try
|
||||
{
|
||||
var file = vimperator.io.getFile(filename);
|
||||
if (!file.exists())
|
||||
{
|
||||
if (!silent)
|
||||
vimperator.echoerr("E484: Can't open file " + filename);
|
||||
return false;
|
||||
}
|
||||
var str = vimperator.io.readFile(filename);
|
||||
|
||||
|
||||
// handle pure javascript files specially
|
||||
if (/\.js$/.test(filename))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user