Skip to content

ts: integrate ts-*-mode-install into each language mode (perl.l, c-mode.l, etc.) #2

Description

@snmsts

Currently users must call ts-c-mode-install / ts-perl-mode-install etc. explicitly from ~/.xyzzy.

Goal

Move the ts setup into each language mode's own .l file, so tree-sitter highlighting and indentation activate automatically when the grammar DLL is present — without any user-side install calls.

Benefit

  • Restores correct autoload semantics (perl.l only loaded when a .pl file is opened)
  • No manual setup required once grammar DLLs are bundled

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions