Add Tailwind autocomplete for Vue (#10078)

This fixes #4403 by adding TailwindLsp to .vue files too and
autocomplete aswell


![image](https://github.com/zed-industries/zed/assets/49145060/8b06a478-cade-4cbc-9da7-f31f5197f304)

Release Notes:

- Added Tailwind support in `.vue` files
([#4403](https://github.com/zed-industries/zed/issues/4403)).
This commit is contained in:
René 2024-04-02 16:34:41 +02:00 committed by GitHub
parent ad03a7e72c
commit 15ef3f3017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 1 deletions

View file

@ -312,7 +312,10 @@ pub fn init(
language!("ocaml-interface", vec![Arc::new(ocaml::OCamlLspAdapter)]);
language!(
"vue",
vec![Arc::new(vue::VueLspAdapter::new(node_runtime.clone()))]
vec![
Arc::new(vue::VueLspAdapter::new(node_runtime.clone())),
Arc::new(tailwind::TailwindLspAdapter::new(node_runtime.clone())),
]
);
language!("proto");
language!("terraform", vec![Arc::new(terraform::TerraformLspAdapter)]);