brenoprata10 / nvim-highlight-colors

Highlight colors for neovim
654 stars 31 forks source link

Bug: Invalid buffer id #85

Closed aspeddro closed 3 months ago

aspeddro commented 3 months ago

Neovim 0.10

Error executing vim.schedule lua callback: ...vim-highlight-colors/lua/nvim-highlight-colors/utils.lua:59: Invalid buffer id: 12
stack traceback:
        [C]: in function 'nvim_buf_get_extmarks'
        ...vim-highlight-colors/lua/nvim-highlight-colors/utils.lua:59: in function 'create_highlight'
        ...vim-highlight-colors/lua/nvim-highlight-colors/utils.lua:151: in function 'highlight_lsp_document_color'
        ...vim-highlight-colors/lua/nvim-highlight-colors/utils.lua:114: in function 'handler'
        /usr/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
brenoprata10 commented 3 months ago

Duplicate of https://github.com/brenoprata10/nvim-highlight-colors/issues/79 Update the plugin and the error will go away

aspeddro commented 3 months ago

I updated and I keep getting this error

brenoprata10 commented 3 months ago

I've pushed a fix to it. Could you update again and let me know if you're still getting this error?

aspeddro commented 3 months ago

Fixed, Thanks!!