Skip to content

Commit 06996be

Browse files
EKHHStef16Robbe
andauthored
Update supported languages (#44)
- Updated the documentation links. - Removed unavailable languages. - Added new languages (e.g. Nix, Bash, Git Commit, CMake, etc.) - Corrected casing (see #37 (comment)). --------- Co-authored-by: Stef <stef.robbe@protonmail.com>
1 parent ba5df02 commit 06996be

1 file changed

Lines changed: 66 additions & 76 deletions

File tree

extension.toml

Lines changed: 66 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -8,91 +8,81 @@ repository = "https://github.com/zed-extensions/harper"
88

99
[language_servers.harper-ls]
1010
name = "Harper LS"
11-
# Not all of these are supported by Harper yet, see: https://github.com/Stef16Robbe/harper_zed/pull/4#issuecomment-2469318095
12-
# See nvim config for supported langs: https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/configs/harper_ls.lua
11+
# Languages supported by harper-ls are listed in <https://writewithharper.com/docs/integrations/language-server#Supported-Languages>.
12+
# The entry in the list of languages below must match the name field from the config.toml file for that language.
13+
# For languages that are available natively in Zed, the said file can be found in <https://github.com/zed-industries/zed/tree/main/crates/languages/src>.
14+
# For those that are not, a link has been provided. For a list of all languages, see <https://zed.dev/docs/languages>.
15+
# Do not assume the name of any language! For instance, C# has been be listed as `CSharp`.
16+
# Languages marked with (!) are supported by harper-ls but not Zed.
1317
languages = [
14-
# General Purpose
15-
"Python",
16-
"Go",
18+
# Sorted in identical manner as upstream.
19+
# https://github.com/dunyakirkali/zed-asciidoc/blob/main/languages/asciidoc/config.toml
20+
"AsciiDoc",
1721
"C",
18-
"Cpp",
19-
"Java",
20-
"Rust",
21-
"Zig",
22+
# https://github.com/zed-extensions/clojure/blob/main/languages/clojure/config.toml
23+
"Clojure",
24+
# https://github.com/k0tran/zed_neocmake/blob/master/languages/cmake/config.toml
25+
"CMake",
26+
"C++",
27+
# https://github.com/zed-extensions/csharp/blob/main/languages/csharp/config.toml
28+
"CSharp",
29+
# (!) "DAML",
30+
# https://github.com/zed-extensions/dart/blob/main/languages/dart/config.toml
2231
"Dart",
23-
"Elixir",
24-
"Erlang",
25-
"Gleam",
32+
"Git Commit",
33+
"Go",
34+
# https://github.com/valentinegb/zed-groovy/blob/main/languages/groovy/config.toml
2635
"Groovy",
36+
# https://github.com/zed-extensions/haskell/blob/main/languages/haskell/config.toml
2737
"Haskell",
28-
"Julia",
38+
# https://github.com/zed-industries/zed/blob/main/extensions/html/languages/html/config.toml
39+
"HTML",
40+
# (!) "Ink",
41+
# https://github.com/zed-extensions/java/blob/main/languages/java/config.toml
42+
"Java",
43+
# Should include JavaScript React.
44+
"JavaScript",
45+
# https://github.com/zed-extensions/kotlin/blob/main/languages/kotlin/config.toml
2946
"Kotlin",
30-
"Nim",
31-
"OCaml",
32-
"PHP",
33-
"PureScript",
34-
"R",
35-
"Racket",
36-
"Roc",
37-
"Ruby",
38-
"Scala",
39-
"Scheme",
40-
"Uiua",
41-
42-
# Scripting
47+
# Literate Haskell support should be included in `Haskell` soon.
48+
# https://github.com/zed-extensions/haskell/pull/13
49+
"Literate Haskell",
50+
# https://github.com/zed-extensions/lua/blob/main/languages/lua/config.toml
4351
"Lua",
52+
# Should also be supported.
4453
"Luau",
45-
"Bash",
46-
"Deno",
47-
"Fish",
48-
"GDScript",
49-
"Rego",
50-
51-
# Web
52-
"HTML",
53-
"CSS",
54-
"Javascript",
55-
"Typescript",
56-
"Svelte",
57-
"Astro",
58-
"Vue",
59-
"Elm",
60-
61-
# Markup
54+
# (!) "Email",
6255
"Markdown",
63-
"AsciiDoc",
64-
"ReStructuredText",
65-
"XML",
56+
# https://github.com/zed-extensions/nix/blob/main/languages/nix/config.toml
57+
"Nix",
58+
# https://github.com/hron/zed-org/blob/main/languages/org/config.toml
59+
"Org",
60+
# https://github.com/zed-extensions/php/blob/main/languages/php/config.toml
61+
"PHP",
62+
# https://github.com/wingyplus/zed-powershell/blob/main/languages/powershell/config.toml
63+
"PowerShell",
64+
# https://github.com/zed-industries/zed/blob/93a226df0cb7c7def50c800044fa5047599f8f2c/assets/settings/default.json#L2141
65+
# (!) "Plain Text",
66+
"Python",
67+
# https://github.com/zed-extensions/ruby/blob/main/languages/ruby/config.toml
68+
"Ruby",
69+
"Rust",
70+
# https://github.com/scalameta/metals-zed/blob/main/languages/scala/config.toml
71+
"Scala",
72+
# https://github.com/zed-industries/zed/blob/main/crates/languages/src/bash/config.toml
73+
"Shell Script",
74+
# https://github.com/zarifpour/zed-solidity/blob/main/languages/solidity/config.toml
75+
"Solidity",
76+
# https://github.com/zed-extensions/swift/blob/main/languages/swift/config.toml
77+
"Swift",
78+
# https://github.com/zed-extensions/toml/blob/main/languages/toml/config.toml
79+
"TOML",
80+
# Should include TypeScript React.
81+
"TypeScript",
82+
# https://github.com/zed-extensions/typst/blob/main/languages/typst/config.toml
6683
"Typst",
84+
# https://github.com/zed-extensions/zig/blob/main/languages/zig/config.toml
85+
"Zig",
86+
# https://github.com/rzukic/zed-latex/blob/main/languages/latex/config.toml
6787
"LaTeX",
68-
69-
# Data serialization
70-
"TOML",
71-
"JSON",
72-
"Jsonnet",
73-
"YAML",
74-
75-
# Compiled
76-
"Swift",
77-
"CSharp",
78-
79-
# Configuration / Automation
80-
"Ansible",
81-
"Docker",
82-
"Makefile",
83-
"Terraform",
84-
"Yarn",
85-
86-
# Other
87-
"Biome",
88-
"Clojure",
89-
"Emmet",
90-
"GLSL",
91-
"Prisma",
92-
"Proto",
93-
"Solidity",
94-
95-
# Not supported yet
96-
# "typescriptreact",
97-
# "gitcommit",
9888
]

0 commit comments

Comments
 (0)