lite-xl-plugins
lite-xl-plugins copied to clipboard
[2.1] bunch of problems with plugins
so the plugins for 2.1 have quite a few problems, and it was decided in the discord chat to list all the problems here.
so here goes nothing:
- the spellcheck plugin breaks softwrap;
- the minimap plugins also breaks softwrap;
- lfautoinsert and smoothcaret cause an error that i'll paste a screenshot of, since the log is not giving an option to copy the log entry:
this is it for now, since it's late at night where i am right now; i would like it if other people test these plugins with the master-2.1
branch of lite-xl and report their findings here.
I have not tried the other plugins, but the minimap plugin sure does cause an issue
Dropped the plugins folder and got this error
~/lite-xl
➜ ./lite-xl ~/Documents/development/agriboost.co.ke
Error: /home/forinda/.config/lite-xl/plugins/ipc.lua:869: attempt to index a boolean value (upvalue 'settings')
stack traceback:
/home/forinda/lite-xl/data/core/init.lua:793: in function 'core.init'
[string "local core..."]:8: in function <[string "local core..."]:2>
[C]: in function 'xpcall'
[string "local core..."]:2: in main chunk
~/lite-xl took 16s
✖
What could this mean
Dropped the plugins folder and got this error
~/lite-xl ➜ ./lite-xl ~/Documents/development/agriboost.co.ke Error: /home/forinda/.config/lite-xl/plugins/ipc.lua:869: attempt to index a boolean value (upvalue 'settings') stack traceback: /home/forinda/lite-xl/data/core/init.lua:793: in function 'core.init' [string "local core..."]:8: in function <[string "local core..."]:2> [C]: in function 'xpcall' [string "local core..."]:2: in main chunk ~/lite-xl took 16s ✖
What could this mean
The ipc plugin performed a check to load after the settings gui plugin and IIRC it failed if settings gui wasn't found, but I think I fixed that hard dependency already on latest version.
Are you using latest ipc plugin?
Dropped the plugins folder and got this error
~/lite-xl ➜ ./lite-xl ~/Documents/development/agriboost.co.ke Error: /home/forinda/.config/lite-xl/plugins/ipc.lua:869: attempt to index a boolean value (upvalue 'settings') stack traceback: /home/forinda/lite-xl/data/core/init.lua:793: in function 'core.init' [string "local core..."]:8: in function <[string "local core..."]:2> [C]: in function 'xpcall' [string "local core..."]:2: in main chunk ~/lite-xl took 16s ✖
What could this mean
The ipc plugin performed a check to load after the settings gui plugin and IIRC it failed if settings gui wasn't found, but I think I fixed that hard dependency already on latest version.
Are you using latest ipc plugin?
I just downloaded the whole plugins folder and plugged into the plugins folder
Do you also have the widgets library installed? My recommendation would be to install lite-xl using one of the packages that include additional addons, it is easier to get started with: https://github.com/lite-xl/lite-xl/releases/tag/v2.1.1
Do you also have the widgets library installed? My recommendation would be to install lite-xl using one of the packages that include additional addons, it is easier to get started with: https://github.com/lite-xl/lite-xl/releases/tag/v2.1.1
I'm on linux and Downloaded the latest binary
Do you also have the widgets library installed? My recommendation would be to install lite-xl using one of the packages that include additional addons, it is easier to get started with: https://github.com/lite-xl/lite-xl/releases/tag/v2.1.1
I'm on linux and Downloaded the latest binary
Do you also have the widgets library installed? My recommendation would be to install lite-xl using one of the packages that include additional addons, it is easier to get started with: https://github.com/lite-xl/lite-xl/releases/tag/v2.1.1
I'm on linux and Downloaded the latest binary
The lower one
use the upper one
use the upper one
Error: /home/forinda/.config/lite-xl/plugins/minimap.lua:467: attempt to index a nil value (local 'color')
stack traceback:
/home/forinda/lite-xl/data/core/docview.lua:561: in upvalue 'old_draw'
/home/forinda/lite-xl/data/plugins/linewrapping.lua:522: in upvalue 'draw'
/home/forinda/.config/lite-xl/plugins/motiontrail.lua:51: in function 'core.docview.draw'
/home/forinda/lite-xl/data/core/node.lua:592: in function 'core.node.draw'
/home/forinda/lite-xl/data/core/node.lua:32: in function 'core.node.propagate'
/home/forinda/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
/home/forinda/lite-xl/data/core/node.lua:31: in function 'core.node.propagate'
/home/forinda/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
/home/forinda/lite-xl/data/core/node.lua:32: in function 'core.node.propagate'
/home/forinda/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
... (skipping 3 levels)
/home/forinda/lite-xl/data/plugins/autocomplete.lua:571: in upvalue 'root_view_draw'
/home/forinda/lite-xl/data/plugins/treeview.lua:498: in upvalue 'root_view_draw'
/home/forinda/lite-xl/data/plugins/contextmenu.lua:31: in function 'core.rootview.draw'
/home/forinda/lite-xl/data/core/init.lua:1344: in function 'core.step'
/home/forinda/lite-xl/data/core/init.lua:1388: in upvalue 'core_run'
/home/forinda/.config/lite-xl/plugins/profiler/init.lua:78: in upvalue 'core_run'
/home/forinda/.config/lite-xl/plugins/settings.lua:1867: in upvalue 'core_run'
/home/forinda/.config/lite-xl/plugins/ipc.lua:858: in function 'core.run'
(...tail calls...)
[string "local core..."]:9: in function <[string "local core..."]:2>
[C]: in function 'xpcall'
[string "local core..."]:2: in main chunk
malloc(): unaligned fastbin chunk detected
[1] 8031 IOT instruction (core dumped) ./lite-xl ~/Documents/development/agriboost.co.ke
rm /home/forinda/.config/lite-xl/plugins/minimap.lua
I have removed the plugins and Syntax highlighing is on. Can I just import the plugins to the data folder?
I have removed the plugins and Syntax highlighing is on. Can I just import the plugins to the data folder?
yes, that should work
I have removed the plugins and Syntax highlighing is on. Can I just import the plugins to the data folder?
yes, that should work
Thanks. It works well. Just strugggling to make autocomplete work