SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
762 stars 30 forks source link

fix(#55): Fix Column value outside range error #56

Closed rcsalomao closed 1 year ago

rcsalomao commented 1 year ago

Refactor to consider cases where end character column is 0. On that case, actions such as append, visual, fold, yank used to crash.

SmiteshP commented 1 year ago

Hmm.. This isn't ideal but an acceptable work around 🤔

rcsalomao commented 1 year ago

Found a conciser way to enforce that the end character is not 0. Tested with pyright, jedi-language-server and pylsp and the actions seem to work well.