File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ function M:reset()
180180
181181 -- Reset all state
182182 self .containers = {}
183+ self .extmarks = {}
183184 self ._initialized = false
184185 self ._is_streaming = false
185186 self ._current_response_buffer = " "
@@ -1064,7 +1065,7 @@ end
10641065
10651066function M :_update_config_display ()
10661067 local config = self .containers .config
1067- if not config or not vim .api .nvim_buf_is_valid (config .bufnr ) then
1068+ if not config or not config . bufnr or not vim .api .nvim_buf_is_valid (config .bufnr ) then
10681069 return
10691070 end
10701071
@@ -1149,7 +1150,7 @@ end
11491150
11501151function M :_update_usage_info ()
11511152 local usage = self .containers .usage
1152- if not usage or not vim .api .nvim_buf_is_valid (usage .bufnr ) then
1153+ if not usage or not usage . bufnr or not vim .api .nvim_buf_is_valid (usage .bufnr ) then
11531154 return
11541155 end
11551156
You can’t perform that action at this time.
0 commit comments