🐛 BUG: Disable useless emmet abbreviation when trying to reference variables from script. #835
jamesmcl113
started this conversation in
Feature requests
Replies: 3 comments 1 reply
-
I agree! Emmet doesn't really like being disabled partially, but this problem has annoyed me in the past too, so definitely need to figure out a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm also hoping for this issue to be resolved in some way without disabling Emmet completely. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The last update of the extensions should improve the situation. It's still not quite like it is in JSX, not sure why yet, but it seems generally better |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Bug
I've setup the Astro LS and it's working nicely. However, when writing JSX in a
.astro
file I get an annoying emmet abbreviation completion when I'm trying to reference a name from the script section of the file. Image below shows the completion:If I select the completion, it just pastes in the name without curly braces. It's pretty annoying since it's always the first completion that appears in the list. I'd like to disable this without disabling emmet for the whole language server if possible.
Steps to Reproduce
npm init astro
using template.astro
file with a variable in the script sectionBeta Was this translation helpful? Give feedback.
All reactions