feat(parser): Fix guide highlight for multi-width characters

This commit is contained in:
Simrat Grewal
2022-08-10 20:47:31 -07:00
parent 094334c1a8
commit 7747a020a6
2 changed files with 38 additions and 11 deletions

View File

@@ -169,6 +169,7 @@ local function handler(response)
wipe_state()
end,
})
setup_keymaps(M.view.bufnr)
local items = parser.parse(response)
@@ -178,6 +179,7 @@ local function handler(response)
writer.parse_and_write(M.view.bufnr, M.state.flattened_outline_items)
M._highlight_current_item(M.state.code_win)
end