Skip to content

Commit

Permalink
Add LSP config for Odin (helix-editor#3214)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa-silva authored and GreasySlug committed Aug 2, 2022
1 parent 2300d6b commit 4e2e470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
| nu || | | |
| ocaml || || `ocamllsp` |
| ocaml-interface || | | `ocamllsp` |
| odin || | | |
| odin || | | `ols` |
| openscad || | | `openscad-language-server` |
| org || | | |
| perl |||| |
Expand Down
3 changes: 2 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,8 @@ name = "odin"
auto-format = false
scope = "source.odin"
file-types = ["odin"]
roots = []
roots = ["ols.json"]
language-server = { command = "ols", args = [] }
comment-token = "//"
indent = { tab-width = 4, unit = "\t" }

Expand Down

0 comments on commit 4e2e470

Please sign in to comment.