Skip to content

Fix: Multiline input broken in Julia executable fold #14

@Parth-Garg2629

Description

@Parth-Garg2629

Description:
The line (when (supports-julia?) (plugin-input-converters julia)) in init-julia.scm accidentally sets (plugin-supports-math-input-ref "julia") to #t, which causes plugin-preprocess to strip newline characters. This breaks multiline code in executable folds (Insert → Fold → Executable).

Example broken output:

# All lines are concatenated into one — multiline logic fails silently
using Random Random.seed!(42) rand()

Expected Behavior: Multiline Julia code in executable folds should be preserved and executed correctly.

Proposed Fix Direction: Guard plugin-input-converters against unintended math-input mode activation, or explicitly set plugin-supports-math-input-ref to #f for Julia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions