feat: add retain_symlinks option to enable writing files through links (default: true)
This commit is contained in:
parent
3a718bf6f6
commit
c0107e32e0
3 changed files with 15 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ const root = @import("soft_root").root;
|
|||
const tracy = @import("tracy");
|
||||
const builtin = @import("builtin");
|
||||
const file_link = @import("file_link");
|
||||
const Buffer = @import("Buffer");
|
||||
|
||||
pub const renderer = @import("renderer");
|
||||
const input = @import("input");
|
||||
|
|
@ -154,6 +155,8 @@ fn init(allocator: Allocator) InitError!*Self {
|
|||
|
||||
var conf, const conf_bufs = root.read_config(@import("config"), allocator);
|
||||
|
||||
Buffer.retain_symlinks = conf.retain_symlinks;
|
||||
|
||||
if (@hasDecl(renderer, "install_crash_handler") and conf.start_debugger_on_crash)
|
||||
renderer.jit_debugger_enabled = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue