diff options
Diffstat (limited to 'script/files.lua')
-rw-r--r-- | script/files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua index 29a66d48..9b22ea41 100644 --- a/script/files.lua +++ b/script/files.lua @@ -124,7 +124,7 @@ function m.setText(uri, text, isTrust) if not text then return end - if #text > 1024 * 1024 * 100 then + if #text > 1024 * 1024 * 10 then local client = require 'client' client.showMessage('Warning', lang.script('WORKSPACE_SKIP_HUGE_FILE', uri)) return |