Add LSP config for Odin (#3214)

This commit is contained in:
Ricardo Silva 2022-07-27 18:28:20 +01:00 committed by GitHub
parent 9a49623721
commit 2f1d3d0899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -67,7 +67,7 @@
| nu | ✓ | | | |
| ocaml | ✓ | | ✓ | `ocamllsp` |
| ocaml-interface | ✓ | | | `ocamllsp` |
| odin | ✓ | | | |
| odin | ✓ | | | `ols` |
| openscad | ✓ | | | `openscad-language-server` |
| org | ✓ | | | |
| perl | ✓ | ✓ | ✓ | |

View file

@ -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" }