Skip to content

Rust Enhanced package breaks AutoSetSyntax package #427

Closed
@BlackDex

Description

@BlackDex

Sublime Text Version

Sublime Text 3 (Build 3211)

Rust Enhanced Version

v2.21.0

Operating system

A good example is:
OS Name Arch Linux
Version All updates installed

Expected behavior

Should not break AutoSetSyntax package.

Actual behavior

Breaks AutoSetSyntax extension.

Steps to reproduce

  1. Install both Rust Enhanced and AutoSetSyntax package.
  2. Check the debug console ctrl+`
  3. AutoSetSyntax reports errors.

The issue is that in Cargo.sublime-syntax the setting file_extensions is just a string.
But according to Sublimetext it needs to be a list of strings. https://www.sublimetext.com/docs/3/syntax.html

When i change it from just rs to ['rs'] all starts working again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions