zed/extensions/emmet
José Olórtegui 6e2be283dd
emmet: Support more languages (#10779)
Hey guys! `emmet-language-server` author here. Thank you so much for the
amazing editor!

This PR adds more languages to the list for the `emmet-language-server`
to attach to.

I have a question though, I saw that you guys don't differentiate yet
between `JavaScript` and `JSX` files. I know that the tree-sitter parser
for `js` comes with the ability to parse both but we still need to make
that difference. Is that part of the plan? or do you have a reason for
doing that?

Aside from that, I've still added support for `JavaScript` files since
is important to have emmet completions in `JSX` files, but I would like
to know what are your thoughts on that since doing this may pollute the
completions in `.js` files.

And one last thing, the emmet language server accepts more filetypes
such as `pug`, `sass`, `scss` and `less` files, which are not currently
supported by zed. Should I create some extensions to add grammar support
to those files later? Should those extensions be part of the zed repo?
I'm just thinking that those are sort of core languages.

Aside from that, let me know if there's anything left to do on my side.
Greetings!

Fixes #10654.

Release Notes:

- N/A
2024-05-06 12:09:19 +02:00
..
src Add emmet-language-server support (#9910) 2024-04-03 19:54:53 +02:00
.gitignore Add emmet-language-server support (#9910) 2024-04-03 19:54:53 +02:00
Cargo.toml emmet: Bump to v0.0.2 (#10426) 2024-04-11 11:56:25 -04:00
extension.toml emmet: Support more languages (#10779) 2024-05-06 12:09:19 +02:00
LICENSE-APACHE Add emmet-language-server support (#9910) 2024-04-03 19:54:53 +02:00