Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

More specific selector doesn't override less specific #138

@tomasbedrich

Description

@tomasbedrich

I have following code in my keymap:

'atom-workspace atom-text-editor[data-grammar~="html"]:not([mini])':
  'cmd-/': 'emmet:toggle-comment'

The Keybindings settings:

keybindings settings

I would expect my User selector should override the less specific Core selector when editing HTML, however the Core keystroke is used when pressing Ctrl-/.

BTW: When I change my selector to be exactly same as Core, it works well. But I want to use the emmet:toggle-comment command only for HTML.

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