Skip to content

No syntax highlighting in Flatpak version #8

Closed
@Akselmo

Description

@Akselmo

Seems grammar .so files are missing:

2023-06-05T08:41:01.680 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "toml": Error opening dynamic library "/app/share/helix/runtime/grammars/toml.so"
2023-06-05T08:41:01.681 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-06-05T08:42:11.016 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "toml": Error opening dynamic library "/app/share/helix/runtime/grammars/toml.so"
2023-06-05T08:42:11.016 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-06-05T08:42:18.405 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "toml": Error opening dynamic library "/app/share/helix/runtime/grammars/toml.so"
2023-06-05T08:42:18.405 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-06-05T08:43:00.368 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "toml": Error opening dynamic library "/app/share/helix/runtime/grammars/toml.so"
2023-06-05T08:43:00.368 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-06-05T08:46:35.341 helix_term::application [WARN] failed to load theme `aksdark` - Theme: file not found for: aksdark
2023-06-05T08:46:57.905 helix_term::application [WARN] failed to load theme `aksdark` - Theme: file not found for: aksdark
2023-06-05T08:46:57.907 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "bash": Error opening dynamic library "/app/share/helix/runtime/grammars/bash.so"
2023-06-05T08:46:57.907 helix_view::editor [ERROR] Failed to initialize the LSP for `source.bash` { cannot find binary path }
2023-06-05T08:47:10.749 helix_term::application [WARN] failed to load theme `aksdark` - Theme: file not found for: aksdark
2023-06-05T08:47:16.624 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "toml": Error opening dynamic library "/app/share/helix/runtime/grammars/toml.so"
2023-06-05T08:47:16.624 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-06-05T08:48:31.776 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "bash": Error opening dynamic library "/app/share/helix/runtime/grammars/bash.so"
2023-06-05T08:48:31.776 helix_view::editor [ERROR] Failed to initialize the LSP for `source.bash` { cannot find binary path }
2023-06-05T08:49:03.657 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "python": Error opening dynamic library "/app/share/helix/runtime/grammars/python.so"
2023-06-05T08:49:03.666 helix_view::editor [ERROR] Failed to initialize the LSP for `source.python` { cannot find binary path }
2023-06-05T08:49:36.446 helix_view::editor [ERROR] Failed to initialize the LSP for `source.python` { cannot find binary path }
2023-06-05T08:49:45.046 helix_view::theme [WARN] Theme: invalid modifier: "normal"
2023-06-05T08:49:45.047 helix_view::theme [WARN] Theme: invalid modifier: "normal"
2023-06-05T08:49:45.189 helix_view::theme [WARN] Theme: invalid modifier: "normal"
2023-06-05T08:49:45.190 helix_view::theme [WARN] Theme: invalid modifier: "normal"
2023-06-05T08:51:03.346 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "python": Error opening dynamic library "/app/share/helix/runtime/grammars/python.so"
2023-06-05T08:51:03.347 helix_view::editor [ERROR] Failed to initialize the LSP for `source.python` { cannot find binary path }
2023-06-05T08:51:12.583 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "python": Error opening dynamic library "/app/share/helix/runtime/grammars/python.so"
2023-06-05T08:51:12.584 helix_view::editor [ERROR] Failed to initialize the LSP for `source.python` { cannot find binary path }

Can't find the grammars folder: /var/lib/flatpak/app/com.helix_editor.Helix/current/active/files/share/helix/runtime

This is on Debian 11 Stable.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions