pappasam / nvim-repl

52 stars 12 forks source link

Failed Cells Detection in Haskell #22

Closed mostafatouny closed 2 days ago

mostafatouny commented 4 months ago

Hello,

Thank you for the supremely beautiful. It perfectly worked with Julia programming language.

It worked with Haskell but detecting cells failed. When the cursor was on first cell, Running <Plug>ReplSendCell considered the whole file.

Screenshot_2024-05-25_15-04-43

The following produced the same output.

-- # %% first cell
head [1, 5, 7]

-- # %% second
head [5, 5]

The following correctly detected cells but running the whole file produces syntax error.

# %% first cell
head [1, 5, 7]

# %% second
head [5, 5]
pappasam commented 2 days ago

Sorry for taking so long to get to this, this should be resolved now