@@ -41,19 +41,19 @@ function save_config!(config::CthulhuConfig=CONFIG)
4141end
4242
4343function read_config! (config:: CthulhuConfig )
44- config. enable_highlighter = @ load_preference (" enable_highlighter" , config. enable_highlighter)
45- config. highlighter = Cmd (@ load_preference (" highlighter" , config. highlighter))
46- config. asm_syntax = Symbol (@ load_preference (" asm_syntax" , config. asm_syntax))
47- config. pretty_ast = @ load_preference (" pretty_ast" , config. pretty_ast)
48- config. debuginfo = Symbol (@ load_preference (" debuginfo" , config. debuginfo))
49- config. optimize = @ load_preference (" optimize" , config. optimize)
50- config. iswarn = @ load_preference (" iswarn" , config. iswarn)
51- config. remarks = @ load_preference (" remarks" , config. remarks)
52- config. with_effects = @ load_preference (" with_effects" , config. with_effects)
53- config. inline_cost = @ load_preference (" inline_cost" , config. inline_cost)
54- config. type_annotations = @ load_preference (" type_annotations" , config. type_annotations)
55- config. annotate_source = @ load_preference (" annotate_source" , config. annotate_source)
56- config. inlay_types_vscode = @ load_preference (" inlay_types_vscode" , config. inlay_types_vscode)
57- config. diagnostics_vscode = @ load_preference (" diagnostics_vscode" , config. diagnostics_vscode)
58- config. jump_always = @ load_preference (" jump_always" , config. jump_always)
44+ config. enable_highlighter = load_preference (Cthulhu, " enable_highlighter" , config. enable_highlighter)
45+ config. highlighter = Cmd (load_preference (Cthulhu, " highlighter" , config. highlighter))
46+ config. asm_syntax = Symbol (load_preference (Cthulhu, " asm_syntax" , config. asm_syntax))
47+ config. pretty_ast = load_preference (Cthulhu, " pretty_ast" , config. pretty_ast)
48+ config. debuginfo = Symbol (load_preference (Cthulhu, " debuginfo" , config. debuginfo))
49+ config. optimize = load_preference (Cthulhu, " optimize" , config. optimize)
50+ config. iswarn = load_preference (Cthulhu, " iswarn" , config. iswarn)
51+ config. remarks = load_preference (Cthulhu, " remarks" , config. remarks)
52+ config. with_effects = load_preference (Cthulhu, " with_effects" , config. with_effects)
53+ config. inline_cost = load_preference (Cthulhu, " inline_cost" , config. inline_cost)
54+ config. type_annotations = load_preference (Cthulhu, " type_annotations" , config. type_annotations)
55+ config. annotate_source = load_preference (Cthulhu, " annotate_source" , config. annotate_source)
56+ config. inlay_types_vscode = load_preference (Cthulhu, " inlay_types_vscode" , config. inlay_types_vscode)
57+ config. diagnostics_vscode = load_preference (Cthulhu, " diagnostics_vscode" , config. diagnostics_vscode)
58+ config. jump_always = load_preference (Cthulhu, " jump_always" , config. jump_always)
5959end
0 commit comments