prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.1k stars 304 forks source link

fix: E684: List index out of range: 0 #1481

Closed FuDesign2008 closed 11 months ago

FuDesign2008 commented 1 year ago

fix bug like below: WX20230704-111333@2x

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

prabirshrestha commented 11 months ago

Merged. Thanks!

marnix commented 10 months ago

@prabirshrestha @FuDesign2008 I don't have time now to log a proper bug report, but for me I get weird errors sometimes, with plain Vim 8.2, apparently because that does not have the getbufoneline() that is introduced in this commit.

The error looks similar, also around ...debounce....

One workaround is to disable vim-lsp-settings; the other is for now to use the pre-October-10 version. :-)

Note that going back to 7233bb2e doesn't give any ...debounce... related error, I see no issues.

(Thanks for all this Vim LSP work by the way, very much appreciated!)