Skip to content
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

Lua error when opening a file #12

Open
ignacio-voxel opened this issue Oct 21, 2023 · 2 comments
Open

Lua error when opening a file #12

ignacio-voxel opened this issue Oct 21, 2023 · 2 comments

Comments

@ignacio-voxel
Copy link

ignacio-voxel commented Oct 21, 2023

Getting this error when I open any file

Error executing vim. schedule lua callback: ..ount_nvim.@AXjk2a/usr/share/nvim/runtime/lua/vim/lsp.lua:1308:RPC[Error]code_name=InvalidPara stack traceback:
[c]: in function 'assert'
...ount_nvim.aAXjk2a/usr/share/nvim/runtime/lua/vim/lsp.lua:1308:infunction'
vim/_editor. lua: in function <vim/_editor. lua:0>

after that, several messages get injected to the actual file I opened, in this case a .tsx

Screenshot 2023-10-20 at 5 39 23 PM

Steps to Reproduce

installed using LazyVim using default config except path to Trunk which is custom in my case

formatOnSave = false and lazy = false

When opening neovim everything is slow (unusable)
Then open a file, in my case .tsx file
Error shown above start to show up

Environment

Ubuntu
Neovim 0.9.2

@puzzler7
Copy link
Collaborator

Thanks for reporting this! Can you send the contents of .trunk/trunk.yaml and .trunk/logs/neovim.log?

@ignacio-voxel
Copy link
Author

log file has this like 10 times:

[INFO  Fri Oct 20 19:18:25 2023] .../.local/share/nvim/lazy/neovim-trunk/lua/trunk.lua:27: Starting
[INFO  Fri Oct 20 19:18:25 2023] .../.local/share/nvim/lazy/neovim-trunk/lua/trunk.lua:229: Setting up autocmds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants