diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-06-04 14:42:08 +0200 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-06-17 23:31:44 +0200 |
| commit | ab9960cddf2e509ecc08c0747b152af6ef6fde5b (patch) | |
| tree | 847fcc97ff77d4f4c0cc32c1ba5c082cfd1289bc /data/plugins/workspace.lua | |
| parent | f682215b41a046d573db347c66abea8418974893 (diff) | |
| download | pragtical-ab9960cddf2e509ecc08c0747b152af6ef6fde5b.tar.gz pragtical-ab9960cddf2e509ecc08c0747b152af6ef6fde5b.zip | |
Do not save log views in session file
Diffstat (limited to 'data/plugins/workspace.lua')
| -rw-r--r-- | data/plugins/workspace.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/plugins/workspace.lua b/data/plugins/workspace.lua index 7697d318..77efd7c9 100644 --- a/data/plugins/workspace.lua +++ b/data/plugins/workspace.lua @@ -2,6 +2,7 @@ local core = require "core" local common = require "core.common" local DocView = require "core.docview" +local LogView = require "core.logview" local function workspace_files_for(project_dir) @@ -85,6 +86,7 @@ local function save_view(view) text = not view.doc.filename and view.doc:get_text(1, 1, math.huge, math.huge) } end + if mt == LogView then return end for name, mod in pairs(package.loaded) do if mod == mt then return { |
