hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
8.16k stars 407 forks source link

Strange bug with Svelte 5 emmet expansion - VS Code works fine #2023

Closed uglyreptile closed 3 months ago

uglyreptile commented 3 months ago

FAQ

Announcement

Minimal reproducible full config

nvim-cmp mason: svelte-language-server

Description

I'm just trying to expand this h1{example}| with ['<C-Space>'] = cmp.mapping.complete() in svelte file, And whatever reason it expands to $props.

I have installed version 4 of svelte - no issue.

Wanted to open the issue on language-tools, but VS Code works.

v5 bug: v5 doesn't work

v4 works normally: v4 is fine

Steps to reproduce

npm create svelte@latest myapp - create project with svelte 5.

expand this h1{example}| with ['<C-Space>'] = cmp.mapping.complete() in svelte file