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

Error: line value outside range #86

Open
kuznetsss opened this issue Feb 22, 2022 · 1 comment
Open

Error: line value outside range #86

kuznetsss opened this issue Feb 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kuznetsss
Copy link
Contributor

Description

While switching between buffers I get the error:

Error executing vim.schedule lua callback: .../start/lspsaga.nvim/lua/lspsaga/codeaction/indicator.lua:37: line value outside range
stack traceback:
        [C]: in function 'nvim_buf_set_extmark'
        .../start/lspsaga.nvim/lua/lspsaga/codeaction/indicator.lua:37: in function 'callback'
        ....mount_nvimc4Z54u/usr/share/nvim/runtime/lua/vim/lsp.lua:1472: in function 'handler'
        ....mount_nvimc4Z54u/usr/share/nvim/runtime/lua/vim/lsp.lua:964: in function 'cb'
        vim.lua:285: in function <vim.lua:285>

Expected Behavior

No error while switching between buffers.

Actual Behavior

The error appears from time to time.

Neovim Built in Behavior

I'm not sure about the question but I suppose built in behaviour doesn't produce any errors 😄

Details

Reproduce I don't have exact steps to reproduce it happens randomly when working with couple python files with pylsp enabled.
Environment
  • nvim --version output:
NVIM v0.6.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
  • Operating system:
Ubuntu 18.04.5 LTS
Kernel: 4.19.119-30.2
  • lspsaga commit:
65e9ca7fb147668ce3f7321f8d734ae9b754241c
@kuznetsss kuznetsss added the bug Something isn't working label Feb 22, 2022
@kkharji
Copy link
Owner

kkharji commented Feb 22, 2022

Interesting issue, according to neovim/neovim#17315 (comment) and @mjlbach it is most likely a server bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants