Giter Site home page Giter Site logo

Comments (14)

jgmdev avatar jgmdev commented on July 17, 2024 1

use the upper one

from lite-xl-plugins.

astro-ray avatar astro-ray commented on July 17, 2024

I have not tried the other plugins, but the minimap plugin sure does cause an issue

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

from lite-xl-plugins.

jgmdev avatar jgmdev commented on July 17, 2024

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?

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

from lite-xl-plugins.

jgmdev avatar jgmdev commented on July 17, 2024

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

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

from lite-xl-plugins.

jgmdev avatar jgmdev commented on July 17, 2024

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

this-or-that

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

this-or-that

The lower one

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

from lite-xl-plugins.

jgmdev avatar jgmdev commented on July 17, 2024

rm /home/forinda/.config/lite-xl/plugins/minimap.lua

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

I have removed the plugins and Syntax highlighing is on. Can I just import the plugins to the data folder?

from lite-xl-plugins.

jgmdev avatar jgmdev commented on July 17, 2024

I have removed the plugins and Syntax highlighing is on. Can I just import the plugins to the data folder?

yes, that should work

from lite-xl-plugins.

forinda avatar forinda commented on July 17, 2024

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

from lite-xl-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.