naomi icon indicating copy to clipboard operation
naomi copied to clipboard

autocomplete doesn't work on source.css.embedded.js

Open kud opened this issue 6 years ago • 0 comments

Hello,

I'm not sure at all it's due to naomi but when I'm inside a source.css.embedded.js, the autocomplete when I type css attributes doesn't work.

I don't know if it's due to source.css.embedded.js or template strings.

Example:

const Root = styled.div`
  background: #f0f4f6;
  border-radius: 3px;
  vertical-align: center;
  :I'M HERE WITH MY CURSOR AND NOT AUTOCOMPLETE:
`

My settings:

  "auto_complete_triggers": [
    {
      "selector": "text.html",
      "characters": "<"
    },
    {
      "selector": "source.css.embedded.js",
      "characters": "abcdefghijklmnopqrstuvwxyz"
    }
  ],

kud avatar Jul 26 '19 13:07 kud