zed/assets/icons/file_icons
Dairon M 97be0a930c
Add syntax highlighting and LSP (erlang_lsp) for Erlang (#7093)
This pull request implements support for the [Erlang
Language](https://erlang.org/).

**It adds:**

* [tree-sitter-erlang](https://github.com/WhatsApp/tree-sitter-erlang)
grammar
highlights (Licensed under Apache-2 from WhatsApp which is compatible
with Zed licensing model), folds and indents
* Erlang file icon based on the [official
one](https://www.erlang.org/doc/erlang-logo.png)
* [erlang_ls](https://github.com/erlang-ls/erlang_ls) support

Fixes https://github.com/zed-industries/zed/issues/4939, possibly a
duplicate of https://github.com/zed-industries/zed/pull/7085 with more
features. Suppose @wingyplus wants to join efforts here.

**To complete (out of scope for this PR):**

* Support for the ELP language server from WhatsApp. CC @robertoaloi
* Better indentation handling, need something like
`indentNextLinePattern` in VS Code

**Screenshots:**

![Screenshot 2024-01-30 at 11 03 51
AM](https://github.com/zed-industries/zed/assets/168440/5289c245-9edd-46b8-b443-d7b3210f6510)
![Screenshot 2024-01-30 at 11 01 19
AM](https://github.com/zed-industries/zed/assets/168440/bd22b322-5344-44e6-b5f7-6e352fb3deef)
![Screenshot 2024-01-30 at 11 01 37
AM](https://github.com/zed-industries/zed/assets/168440/f28f6a15-383e-4719-8a87-fceae5062436)
![Screenshot 2024-01-30 at 11 02 03
AM](https://github.com/zed-industries/zed/assets/168440/980d5213-0367-4a08-86eb-5743dfa628eb)
![Screenshot 2024-01-30 at 11 02 19
AM](https://github.com/zed-industries/zed/assets/168440/ea998891-604d-48d6-929f-ae4c1bb3fae1)

Outline: 
![Screenshot 2024-01-31 at 9 09 36
AM](https://github.com/zed-industries/zed/assets/168440/46d56d94-21c3-414d-84fb-9251fa2506ab)



**Release Notes:**

* Added Erlang Support
([7093](https://github.com/zed-industries/zed/pull/7093)).

---------

Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
Co-authored-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
2024-02-01 18:54:26 +02:00
..
ai.svg
archive.svg
audio.svg
book.svg
camera.svg
chevron_down.svg
chevron_left.svg
chevron_right.svg
chevron_up.svg
code.svg
conversations.svg
css.svg Add CSS file type icon (#7062) 2024-01-30 11:37:48 +02:00
database.svg
elixir.svg
erlang.svg Add syntax highlighting and LSP (erlang_lsp) for Erlang (#7093) 2024-02-01 18:54:26 +02:00
eslint.svg
file.svg
file_types.json Add syntax highlighting and LSP (erlang_lsp) for Erlang (#7093) 2024-02-01 18:54:26 +02:00
folder.svg
folder_open.svg
git.svg
go.svg Add Go file icon (#7110) 2024-01-30 15:48:33 -05:00
hash.svg
haskell.svg Add Haskell file type icon (#6995) 2024-01-29 11:32:35 -05:00
html.svg
image.svg
info.svg
lock.svg
magnifying_glass.svg
notebook.svg
package.svg
phoenix.svg
php.svg Add PHP file type icon (#7159) 2024-01-31 12:14:28 -05:00
plus.svg
prettier.svg
project.svg
python.svg
replace.svg
replace_all.svg
replace_next.svg
ruby.svg
rust.svg
settings.svg
terminal.svg
toml.svg
typescript.svg
video.svg
vue.svg Add Vue file icon (#6930) 2024-01-28 12:32:43 -05:00
yaml.svg Add YAML file type icon (#7185) 2024-02-01 16:13:07 +02:00