Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igor47/nvimbug
https://github.com/igor47/nvimbug
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/igor47/nvimbug
- Owner: igor47
- Created: 2024-05-04T19:54:57.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T20:02:06.000Z (8 months ago)
- Last Synced: 2024-10-15T15:29:36.496Z (3 months ago)
- Language: Lua
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neovim bug reproduction
in terminal one, run:
nvim --clean -u init.lua crash.pyplace the cursor at the end of the file (seems to help to repro?)
switch to terminal 2 and run:
echo 'print()' >> crash.pygo back to terminal 1, enter insert mode with `a`, and enter a character
you might need this a few times. you should see:
```
Error executing lua callback: /usr/share/nvim/runtime/lua/vim/lsp/sync.lua:177: attempt to get length of local 'prev_lin
e' (a nil value)
stack traceback:
/usr/share/nvim/runtime/lua/vim/lsp/sync.lua:177: in function 'compute_start_range'
/usr/share/nvim/runtime/lua/vim/lsp/sync.lua:408: in function 'compute_diff'
/usr/share/nvim/runtime/lua/vim/lsp.lua:446: in function 'incremental_changes'
/usr/share/nvim/runtime/lua/vim/lsp.lua:639: in function 'send_changes'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1576: in function
```