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.

Unexpected autocomplete inside a <li> tag #224

Open

Description

@Messiah-Isho

Using Atom 1.12.4, autocomplete-snippets 1.11.0 and snippets 1.0.4

This is the custom snippet:

'.text.html.basic':
  'hyperlink':
    'prefix': 'a'
    'body': '<a href="#$1" class="underline">$2</a>$3'

When using a outside li, the autocomplete makes the snippet "hyperlink". When using it inside li, it wants to use a snippet called "anchor" which is not defined as custom.
The picture below shows the issue:
li

I've searched the issues and there's only one other issue resembling this, but it's not for HTML.

Activity

  1. Messiah-Isho commented on Nov 30, 2016

    @Messiah-Isho
    Author

    Solved by changing the name of the snippet from 'hyperlink' to 'custom a'.

    Is there a name conflict error with the word hyperlink?

    Please clarify in the documentation, what names for snippets can be used and can't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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