Evergreen-lxl / Evergreen.lxl

🌳 Treesitter support for Lite XL.
MIT License
35 stars 7 forks source link

Could not load parser for c, go, and possibly others #69

Closed PassiveLemon closed 3 months ago

PassiveLemon commented 3 months ago

Lua appears to work fine.

Go:

Sun Aug  4 15:05:07 2024 [ERROR] Could not load parser for go
could not require language 'go'
reason:
    could not load dynamic library: /home/lemon/.config/lite-xl/go.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/go/init.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/go.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/go/init.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/go.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/go/init.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/go.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/go/init.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/go.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/parsers/go/libtree-sitter-go.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/parsers/go/parser.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/tree-sitter/parsers/tree-sitter-go/libtree-sitter-go.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/tree-sitter/parsers/tree-sitter-go/parser.so: cannot open shared object file: No such file or directory at /home/lemon/.config/lite-xl/plugins/evergreen/parser.lua:15

stack traceback:
/home/lemon/.config/lite-xl/plugins/evergreen/parser.lua:15: in function 'plugins.evergreen.parser.get'
...e/lemon/.config/lite-xl/plugins/evergreen/highlights.lua:208: in function 'plugins.evergreen.highlights.init'
/home/lemon/.config/lite-xl/plugins/evergreen/init.lua:59: in function 'core.doc.new'
...h3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/object.lua:54: in function 'libraries.widget.dialog.__call'
...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1152: in function 'core.open_doc'
[C]: in function 'pcall'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:112: in upvalue 'load_view'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:161: in upvalue 'load_node'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:214: in function <...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:210>
[C]: in function 'xpcall'
...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1232: in function 'core.try'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:229: in function 'core.run'
[string "local core..."]:14: in function <[string "local core..."]:6>
[C]: in function 'xpcall'
[string "local core..."]:6: in main chunk

C:

Sun Aug  4 15:05:07 2024 [ERROR] Could not load parser for c
could not require language 'c'
reason:
    could not load dynamic library: /home/lemon/.config/lite-xl/c.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/c/init.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/c.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.config/lite-xl/c/init.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/c.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/c/init.x86_64-linux.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/c.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /nix/store/b96d5hmhvljqmwjxbdjch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/c/init.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/c.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/parsers/c/libtree-sitter-c.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/evergreen/parsers/c/parser.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/tree-sitter/parsers/tree-sitter-c/libtree-sitter-c.so: cannot open shared object file: No such file or directory
    could not load dynamic library: /home/lemon/.local/share/tree-sitter/parsers/tree-sitter-c/parser.so: cannot open shared object file: No such file or directory at /home/lemon/.config/lite-xl/plugins/evergreen/parser.lua:15

stack traceback:
/home/lemon/.config/lite-xl/plugins/evergreen/parser.lua:15: in function 'plugins.evergreen.parser.get'
...e/lemon/.config/lite-xl/plugins/evergreen/highlights.lua:208: in function 'plugins.evergreen.highlights.init'
/home/lemon/.config/lite-xl/plugins/evergreen/init.lua:59: in function 'core.doc.new'
...h3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/object.lua:54: in function 'libraries.widget.dialog.__call'
...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1152: in function 'core.open_doc'
[C]: in function 'pcall'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:112: in upvalue 'load_view'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:161: in upvalue 'load_node'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:214: in function <...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:210>
[C]: in function 'xpcall'
...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1232: in function 'core.try'
...nzjdaq-lite-xl-2.1.5/share/lite-xl/plugins/workspace.lua:229: in function 'core.run'
[string "local core..."]:14: in function <[string "local core..."]:6>
[C]: in function 'xpcall'
[string "local core..."]:6: in main chunk

Sun Aug  4 15:05:07 2024 [INFO] Opened doc "GitHub/Sv06-Source-Code/Marlin/_Bootscreen.h" at ...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1154
Sun Aug  4 15:05:07 2024 [WARN] Missing 8/47 style variables for Evergreen syntax highlighting. To get the full experience, you can set these separately:
tag.attribute
tag
tag.delimiter
keyword.coroutine
constructor
string.escape
storageclass.lifetime
comment.documentation at /home/lemon/.config/lite-xl/plugins/evergreen/style.lua:100

stack traceback:
/home/lemon/.config/lite-xl/plugins/evergreen/style.lua:100: in function </home/lemon/.config/lite-xl/plugins/evergreen/style.lua:98>
[C]: in function 'xpcall'
...jch3rab2nzjdaq-lite-xl-2.1.5/share/lite-xl/core/init.lua:1232: in function 'core.try'
(...tail calls...)
PassiveLemon commented 3 months ago

Whoops, I completely glossed over that I need to use Evergreen: Install, sorry about that