The "Rust Enhanced" package should be installed with Package Control. See https://packagecontrol.io/installation for instructions on how to install Package Control.
After you have Package Control installed, follow these steps:
- Open the command palette (
Control Shift Por
Command Shift P) in Sublime Text.
- Type the command
Package Control: Install Package
- Type the name
Rust Enhancedand choose it from the list.
Installing Rust Enhanced should automatically disable the built-in Rust package.
TOML syntax highlighting
TOML syntax highlighting is provided by a separate package called
It is recommended to install this for editing
Cargo.toml and other TOML files.
Package Control: Install Package command and choose the