summaryrefslogtreecommitdiff
path: root/rust-mode-treesitter.el
AgeCommit message (Collapse)Author
2024-04-13fix(treesit): auto mode precedence of rust-modeDev380
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.
2024-03-27Fix dependencies between rust-mode implementationsJonas Bernoulli
"rust-prog-mode.el" and "rust-mode-treesitter.el" provide competing implementations of `rust-mode'. Both implementations depend on code in "rust-mode.el", and thus must require that. Doing that is complicated by the fact that "rust-mode.el" loads one of these libraries, depending on `rust-mode-treesitter-derive's value. Address this conflict by: 1. Requiring feature `rust-mode' in the two libraries that implement the `rust-mode' major-mode and that use things defined in "rust-mode.el". 2. Moving the require forms for these two libraries in "rust-mode.el", below the `provide' form for `rust-mode'.
2024-03-01Require rust-ts-mode carefullycondy
Fix #524
2024-02-28Ad comment explaining about when clauseSibi Prabakaran
2024-02-28Fix treesitter for older emacsSibi Prabakaran
2024-02-28Fix tree sitter mode with hooks integrationSibi Prabakaran
2024-02-17Update docs and fix treesiter modeSibi Prabakaran
2024-02-17provide alternative rust-mode that derives from rust-ts-modebrotzeit