feat: support loading extreamly large files
- Allocate initial file and leaf data outside of Buffer.arena - Disable gutter diffs for very large files - Disable syntax highlighting for very large files
This commit is contained in:
parent
7332108820
commit
b09aa98f70
4 changed files with 32 additions and 11 deletions
|
@ -13,6 +13,9 @@ const c = @cImport({
|
|||
const build_options = @import("build_options");
|
||||
const log = @import("log");
|
||||
|
||||
pub var max_diff_lines: usize = 50000;
|
||||
pub var max_syntax_lines: usize = 50000;
|
||||
|
||||
pub const application_name = "flow";
|
||||
pub const application_logo = " ";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue