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

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

Open
AsherGlick opened this issue Jul 4, 2021 · 1 comment
Labels
A-installation Area: Installation

Comments

@AsherGlick
Copy link

AsherGlick commented Jul 4, 2021

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.

@AsherGlick AsherGlick changed the title Adding and removing Rust Enhanced breaks all rust syntax highlighting Adding and removing Rust Enhanced breaks default rust syntax highlighting Jul 4, 2021
@AsherGlick
Copy link
Author

Some investigation found that the original syntax was not deleted, but instead rust was being ignored by the user settings file. Updated original bug with discovered info and a manual fix method for anyone experiencing this issue.

@ehuss ehuss added the A-installation Area: Installation label Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-installation Area: Installation
Projects
None yet
Development

No branches or pull requests

2 participants