diff options
-rw-r--r-- | plugins/open_ext.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/open_ext.lua b/plugins/open_ext.lua index cd0b2c6..96532c7 100644 --- a/plugins/open_ext.lua +++ b/plugins/open_ext.lua @@ -139,6 +139,7 @@ end local function read_doc(doc, limit) + if not doc.abs_filename return "" end local f = io.open(doc.abs_filename) local str = f:read(limit) f:close() |