Skip to content

[Bug] Custom symbols insert incorrect, if “\\” is "word_separators" value #19

Closed
@Kristinita

Description

@Kristinita

1. Summary

If I insert my custom symbol, slash \ insert for me.

2`. Settings

My User/UnicodeMath.sublime-settings:

{
    "symbols": {
        "ballot_box": "\u2610",
        "ballot_box_with_check": "\u2611"
    }
}

Part of my User/Preferences.sublime-settings:

"word_separators": "./\\()\"'-:,.;<>~!@#$%^*|+=[]{}`~?_"

3. Expected behavior

If I delete \\ into my word_separator parameter:

I print \ballot_box in test.md file → I press Tab insert for me.

4. Actual behavior

I print \ballot_box in test.md file → I press Tab\☐ insert for me.

5. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

I get actual behavior for my custom symbols, but I get expected behavior, if I delete \\ into my word_separator parameter.

I change \u2610 to \\u2610 in my file User/UnicodeMath.sublime-settings file → I get actual behavior.

6. Environment

Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions