zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.2k stars 2.72k forks source link

FlatConfig formatting not working with Vue files #17588

Open SSebigo opened 1 week ago

SSebigo commented 1 week ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Put simply, Zed doesn't respect the FlatConfig when formatting Vue files. Weirdly enough, it works just fine for .js and .ts files, but not for .vue files.

Environment

System: Host: ssebigo-MS-7B22 Kernel: 6.8.0-40-generic x86_64 bits: 64 Desktop: GNOME 42.9 Distro: Ubuntu 22.04.4 LTS (Jammy Jellyfish) Machine: Type: Desktop Mobo: Micro-Star model: B360 GAMING PLUS (MS-7B22) v: 2.0 serial: UEFI: American Megatrends v: 2.30 date: 05/22/2018 CPU: Info: 6-core model: Intel Core i5-8600K bits: 64 type: MCP cache: L2: 1.5 MiB Speed (MHz): avg: 1600 min/max: 800/4300 cores: 1: 1600 2: 1600 3: 1600 4: 1600 5: 1600 6: 1600 Graphics: Device-1: NVIDIA GP104 [GeForce GTX 1080] driver: nvidia v: 535.183.01 Device-2: webcamvendor NexiGo N60 FHD Webcam Audio type: USB driver: snd-usb-audio,uvcvideo Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nouveau,nvidia unloaded: fbdev,vesa gpu: nvidia resolution: 1: 2560x1440~144Hz 2: 1920x1080~60Hz OpenGL: renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 535.183.01

If applicable, add mockups / screenshots to help explain present your vision of the feature

Zed formatting: zed_flatconfig_eslint_vue

VSCode formatting: vscode_flatconfig_eslint_vue

If applicable, attach your Zed.log file to this issue.

No response

Moshyfawn commented 5 days ago

Related: