Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

executing lua callback: ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:64: Invalid buffer id: 6 #215

Open
itcast82407 opened this issue Apr 17, 2023 · 2 comments

Comments

@itcast82407
Copy link

The error occurred when I tried to save the session using the shortcut keys of Astronvim, "space S s".

Error detected while processing CursorHold Autocommands for "*":
Error executing lua callback: ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:64: Invalid buffer id: 6
stack traceback:
[C]: in function 'nvim_buf_clear_namespace'
...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:64: in function 'clear_virt_text'
...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:97: in function 'parse_and_write'
...e/nvim/lazy/symbols-outline.nvim/lua/symbols-outline.lua:71: in function '_update_lines'
...e/nvim/lazy/symbols-outline.nvim/lua/symbols-outline.lua:203: in function '_highlight_current_item'
...e/nvim/lazy/symbols-outline.nvim/lua/symbols-outline.lua:19: in function <...e/nvim/lazy/symbols-outline.nvim/lua/symbols-o
utline.lua:18>

@towry
Copy link

towry commented Jun 16, 2023

Error detected while processing CursorHold Autocommands for "*":                                                                                                           
Error executing lua callback: ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:9: Invalid buffer id: 20                                                         
stack traceback:                                                                                                                                                           
        [C]: in function 'nvim_buf_get_name'                                                                                                                               
        ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:9: in function 'is_buffer_outline'                                                                     
        ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:17: in function 'write_outline'                                                                        
        ...lazy/symbols-outline.nvim/lua/symbols-outline/writer.lua:92: in function 'parse_and_write'  

@uberbrodt
Copy link

I've moved over to aerial.nvim for now. I like this plugin but I depend on sessions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants