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

Writing the Bash shebang code causes Lite XL to crash. #1793

Open
PerilousBooklet opened this issue May 11, 2024 · 2 comments
Open

Writing the Bash shebang code causes Lite XL to crash. #1793

PerilousBooklet opened this issue May 11, 2024 · 2 comments

Comments

@PerilousBooklet
Copy link
Contributor

PerilousBooklet commented May 11, 2024

When I am writing the Bash shebang inside of a .sh newly-created file, after typing #!/.bi and when pressing the n key, Lite XL crashes and the error.txt file contains the following:

Error: /usr/share/lite-xl/plugins/autocomplete.lua:410: attempt to concatenate a table value (local 'text')

stack traceback:
	/usr/share/lite-xl/plugins/autocomplete.lua:410: in upvalue 'draw_description_box'
	/usr/share/lite-xl/plugins/autocomplete.lua:497: in field 'fn'
	/usr/share/lite-xl/core/rootview.lua:457: in upvalue 'draw'
	/usr/share/lite-xl/plugins/autocomplete.lua:598: in upvalue 'root_view_draw'
	/home/raffaele/.config/lite-xl/plugins/lsp/listbox.lua:507: in upvalue 'root_view_draw'
	/usr/share/lite-xl/plugins/contextmenu.lua:32: in upvalue 'root_view_draw'
	/usr/share/lite-xl/plugins/treeview.lua:498: in function 'core.rootview.draw'
	/usr/share/lite-xl/core/init.lua:1348: in function 'core.step'
	/usr/share/lite-xl/core/init.lua:1404: in function 'core.run'
	(...tail calls...)
	[string "local core..."]:14: in function <[string "local core..."]:6>
	[C]: in function 'xpcall'
	[string "local core..."]:6: in main chunk
@Guldoman
Copy link
Member

What Lite XL version are you using? Does it happen if you remove the lsp plugin?

@PerilousBooklet
Copy link
Contributor Author

PerilousBooklet commented May 11, 2024

The version is 2.1.4 and it doesn't happen without lsp.

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

No branches or pull requests

2 participants