Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(treesit): auto mode precedence of rust-mode #539

Merged
merged 1 commit into from Apr 15, 2024

Conversation

Dev380
Copy link
Contributor

@Dev380 Dev380 commented Apr 13, 2024

Currently, rust-ts-mode will add itself to
the auto-mode-alist when it is loaded, which
is after the autoload for adding rust-mode.
We need to re-add rust-mode after loading the
treesitter package to make sure this mode has
higher priority.

Currently, `rust-ts-mode` will add itself to
the `auto-mode-alist` when it is loaded, which
is after the autoload for adding `rust-mode`.
We need to re-add `rust-mode` after loading the
treesitter package to make sure this mode has
higher priority.
Copy link
Member

@psibi psibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@psibi psibi merged commit e54bbae into rust-lang:master Apr 15, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants