-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread 'main' panicked at 'index out of bounds ...' #724
Comments
can you share your Neovim configuration for texlab? |
|
and what's your texlab version? |
try specifying the full set of |
I am running version 4.2.1 . Thank you for the suggestion. I just tried with
(keeping everything else the same), and I still received the same error. |
Thanks for the report! This problem is likely not caused by the @SunJukebox |
Thanks for the detailed reply. There should be a final newline in the example that I did not add. Also, I want to add that, after downgrading texlab to v. 4.1.0, I no longer have this issue. |
I think I have found the issue. Can you try out #730, please? The currently released version wrongly reloads the TeX file after saving, even if it still open in the editor. This can result in a text synchronization issue. |
Thank you @pfoerster for your help. Using texlab compiled from the issue-724 branch fixed the issue. |
## [4.2.2] - 28.08.2022 ### Fixed - Do not watch the same directory multiple times, which can result in a memory leak on Windows ([#737](latex-lsp/texlab#679)) - Fix detection of root document when sharing files between projects ([#679](latex-lsp/texlab#679)) - Fix text synchronization problem caused by file watcher ([#724](latex-lsp/texlab#724))
Whenever I save a latex (.tex) file in neovim (stable, 0.7.2) with texlab running, the texlab instance crashes. The error message that it spits out when I set
RUST_BACKTRACE=full
isFor the sake of completeness, the source .tex file is
However, when I run
texlab -vvvv --log-file texlab.log
instead oftexlab
, this error no longer appears; texlab runs without any hitches. I have no clue as to why this is the case. Thank you for any help you can offer.The text was updated successfully, but these errors were encountered: