Skip to content

Adding and removing Rust Enhanced breaks default rust syntax highlighting #466

Open
@AsherGlick

Description

@AsherGlick

Sublime Text Version

Sublime Text 4 (Build 4107)

Rust Enhanced Version

v2.24.0

Operating system

OS Name Ubuntu
Version 20.04 LTS

Expected behavior

The default rust syntax highlighting should have been usable after removing rust enhanced, as it was before installing rust enhanced.

Actual behavior

The default rust syntax highlighting was disabled and no longer in the list of supported languages. "Rust" is added to the "ignored_packages" dict in Preferences.sublime-settings

Steps to reproduce

  1. Add Rust Enhanced via package control
  2. Remove Rust Enhanced via package control
  3. Currently open rust files default to plaintext and are unable to have Rust set as the language for syntax highlighting
  4. "Rust" is added to the "ignored_packages" in Preferences.sublime-settings

This might be a sublime text bug not a rust enhanced bug but it has only happened to me with rust enhanced
Removing "Rust" from the ignored packages dict returns the desired functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions