-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
bugReport or fix bugsReport or fix bugs
Description
Thanks for the great plugin!
Neovim version: 0.8.2
OS: Windows 10
Steps to reproduce:
- Open neovim
- Open the carbon sidebar,
:ToggleSidebarCarbon
- Save the session,
:mksession mysession.vim
- Close neovim
- Open neovim
- Restore the session,
:source mysession.vim
- Observe that the sidebar is created but carbon does not render in the sidebar
- Attempt to toggle the carbon sidebar,
:ToggleSidebarCarbon
- Observe that carbon does not render and an error is thrown in messages:
Error executing Lua callback: ...ata/Local/nvim-data/lazy/carbon.nvim/lua/carbon/util.lua:195: Vim:E95: Buffer with this name already exists
stack traceback:
[C]: in function 'nvim_buf_set_name'
...ata/Local/nvim-data/lazy/carbon.nvim/lua/carbon/util.lua:195: in function 'create_scratch_buf'
...a/Local/nvim-data/lazy/carbon.nvim/lua/carbon/buffer.lua:54: in function 'handle'
...a/Local/nvim-data/lazy/carbon.nvim/lua/carbon/buffer.lua:99: in function 'show'
.../AppData/Local/nvim-data/lazy/carbon.nvim/lua/carbon.lua:224: in function 'explore_sidebar'
.../AppData/Local/nvim-data/lazy/carbon.nvim/lua/carbon.lua:198: in function <.../AppData/Local/nvim-data/lazy/carbon.nvim/lua/carbon.lua:185>
Failed to run `config` for carbon.nvim
...ata/Local/nvim-data/lazy/carbon.nvim/lua/carbon/util.lua:195: Failed to rename buffer
# stacktrace:
- carbon.nvim\lua\carbon\util.lua:195 _in_ **create_scratch_buf**
- carbon.nvim\lua\carbon\buffer.lua:54 _in_ **handle**
- carbon.nvim\lua\carbon\buffer.lua:99 _in_ **show**
- carbon.nvim\lua\carbon\buffer.lua:22 _in_ **launch**
- carbon.nvim\lua\carbon.lua:87 _in_ **initialize**
- carbon.nvim\lua\carbon.lua:29 _in_ **setup**
E492: Not an editor command: qw
Metadata
Metadata
Assignees
Labels
bugReport or fix bugsReport or fix bugs