File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ type GridLine =
218
218
row: int
219
219
col_start: int
220
220
cells: GridCell []
221
+ wrap: bool
221
222
}
222
223
223
224
[<Struct>]
@@ -624,8 +625,11 @@ let parse_grid_cell (x: obj) =
624
625
625
626
let parse_grid_line ( x : obj ) =
626
627
match x with
627
- | ObjArray [| ( Integer32 grid); ( Integer32 row) ; ( Integer32 col_ start) ; P( parse_ grid_ cell) cells |]
628
- -> Some { grid = grid; row= row; col_ start= col_ start; cells= cells}
628
+ | ObjArray [| ( Integer32 grid); ( Integer32 row) ; ( Integer32 col_ start) ; P( parse_ grid_ cell) cells ; ( Bool wrap) |]
629
+ -> Some { grid = grid; row= row; col_ start= col_ start; cells= cells; wrap= wrap}
630
+ // neovim < 0.92 doesn't pass wrap
631
+ | ObjArray [| ( Integer32 grid); ( Integer32 row) ; ( Integer32 col_ start) ; P( parse_ grid_ cell) cells |]
632
+ -> Some { grid = grid; row= row; col_ start= col_ start; cells= cells; wrap= false }
629
633
| _ -> None
630
634
631
635
let parse_win_pos ( x : obj ) =
You can’t perform that action at this time.
0 commit comments