diff --git a/NvimView/NvimView/NvimView+Draw.swift b/NvimView/NvimView/NvimView+Draw.swift index e6c424f3..c214988b 100644 --- a/NvimView/NvimView/NvimView+Draw.swift +++ b/NvimView/NvimView/NvimView+Draw.swift @@ -161,7 +161,6 @@ extension NvimView { return } - // FIXME: take ligatures into account (is it a good idea to do this?) let attrsRun = AttributesRun( location: self.pointInView( forRow: cursorPosition.row, column: cursorPosition.column diff --git a/NvimView/NvimView/UGrid.swift b/NvimView/NvimView/UGrid.swift index 7a182da8..e5140e9e 100644 --- a/NvimView/NvimView/UGrid.swift +++ b/NvimView/NvimView/UGrid.swift @@ -197,4 +197,4 @@ final class UGrid { private let clearString = " " private let wordSeparator = " " -private let defaultAttrId = -1 +private let defaultAttrId = 0