fix: initialize code_win to 0 instead of nil
Ref <https://github.com/neovim/neovim/pull/16745>
This commit is contained in:
@@ -36,11 +36,11 @@ M.state = {
|
||||
flattened_outline_items = {},
|
||||
outline_win = nil,
|
||||
outline_buf = nil,
|
||||
code_win = nil
|
||||
code_win = 0
|
||||
}
|
||||
|
||||
local function wipe_state()
|
||||
M.state = {outline_items = {}, flattened_outline_items = {}}
|
||||
M.state = {outline_items = {}, flattened_outline_items = {}, code_win = 0}
|
||||
end
|
||||
|
||||
local function __refresh()
|
||||
|
||||
Reference in New Issue
Block a user