1
0
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:
Martin Stubenschrott
2007-11-02 00:57:13 +00:00
parent baebe6978c
commit 5dac5326a5
3 changed files with 33 additions and 8 deletions

View File

@@ -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))
{