Skip to content

Tree sitter integration is not triggering #3

Open
@theothornhill

Description

@theothornhill

Hi there!

I've been trying to get this to work for some time now, but I cannot for the life of me get it to work. I'm using an M1 mac, so that might be an issue, but I don't think so.

(tree-sitter-available-p) returns t, and i've tried to move the dylibs around in different folders to get emacs to pick up on them. I've been following your RFC page and also the manuals, but no dice.

Non working recipe:

  1. Compile casouri/emacs on ts branch, reports that it finds tree-sitter >= 0.0
  2. Run batch-new.sh and move the files in dists to /usr/local/bin (among others)
  3. Launch emacs from src/emacs
  4. (require 'tree-sitter)
  5. Open some C file
  6. M-x ts-c-mode

All syntax highlighting dissapears, and tree-sitter-inspect-mode shows nil. I assume this is because it cannot find the dylibs, but I'm stumped atm. Could you kindly give me some pointers as to what I'm missing? I'm sorry for the probably very stupid mistake I've made :)

bilde

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions