Skip to content

Commit

Permalink
Use same name used in config files for langs in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sudormrfbin authored and archseer committed Dec 8, 2021
1 parent 70c989e commit d08bdfa
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 83 deletions.
78 changes: 39 additions & 39 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
| Language | Syntax Highlighting | Treesitter Textobjects | Auto Indent | Default LSP |
| --- | --- | --- | --- | --- |
| Bash || | | `bash-language-server` |
| C || | | `clangd` |
| C# || | | |
| CMake || | | `cmake-language-server` |
| C++ || | | `clangd` |
| CSS || | | |
| Elixir || | | `elixir-ls` |
| GLSL || || |
| Go |||| `gopls` |
| HTML || | | |
| Java || | | |
| JavaScript || || |
| JSON || || |
| Julia || | | `julia` |
| LaTeX || | | |
| Ledger || | | |
| LLVM || | | |
| Lua || || |
| Mint | | | | `mint` |
| Nix || || `rnix-lsp` |
| OCaml || || |
| OCaml-Interface || | | |
| Perl ||| | |
| PHP || || |
| Prolog | | | | `swipl` |
| Protobuf || || |
| Python |||| `pylsp` |
| Racket | | | | `racket` |
| Ruby || | | `solargraph` |
| Rust |||| `rust-analyzer` |
| Svelte || || `svelteserver` |
| TOML || | | |
| TSQ || | | |
| TSX || | | `typescript-language-server` |
| TypeScript || || `typescript-language-server` |
| Vue || | | |
| WGSL || | | |
| YAML || || |
| Zig || || `zls` |
| bash || | | `bash-language-server` |
| c || | | `clangd` |
| c-sharp || | | |
| cmake || | | `cmake-language-server` |
| cpp || | | `clangd` |
| css || | | |
| elixir || | | `elixir-ls` |
| glsl || || |
| go |||| `gopls` |
| html || | | |
| java || | | |
| javascript || || |
| json || || |
| julia || | | `julia` |
| latex || | | |
| ledger || | | |
| llvm || | | |
| lua || || |
| mint | | | | `mint` |
| nix || || `rnix-lsp` |
| ocaml || || |
| ocaml-interface || | | |
| perl ||| | |
| php || || |
| prolog | | | | `swipl` |
| protobuf || || |
| python |||| `pylsp` |
| racket | | | | `racket` |
| ruby || | | `solargraph` |
| rust |||| `rust-analyzer` |
| svelte || || `svelteserver` |
| toml || | | |
| tsq || | | |
| tsx || | | `typescript-language-server` |
| typescript || || `typescript-language-server` |
| vue || | | |
| wgsl || | | |
| yaml || || |
| zig || || `zls` |
1 change: 0 additions & 1 deletion helix-core/src/indent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ where
file_types: vec!["rs".to_string()],
shebangs: vec![],
language_id: "Rust".to_string(),
display_name: "Rust".to_string(),
highlight_config: OnceCell::new(),
config: None,
//
Expand Down
1 change: 0 additions & 1 deletion helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ pub struct Configuration {
pub struct LanguageConfiguration {
#[serde(rename = "name")]
pub language_id: String, // c-sharp, rust
pub display_name: String, // C#, Rust
pub scope: String, // source.rust
pub file_types: Vec<String>, // filename ends_with? <Gemfile, rb, etc>
#[serde(default)]
Expand Down
Loading

0 comments on commit d08bdfa

Please sign in to comment.