on master help sign in
feat(lsp): add toml lsp (#2302)
2e46961Alexis Kalabura
book/src/generated/lang-support.md+1−1
@@ -75,7 +75,7 @@
75| swift | ✓ | | | `sourcekit-lsp` |
75| swift | ✓ | | | `sourcekit-lsp` |
76| tablegen | ✓ | ✓ | ✓ | |
76| tablegen | ✓ | ✓ | ✓ | |
77| tfvars | | | | `terraform-ls` |
77| tfvars | | | | `terraform-ls` |
78−| toml | ✓ | | | |
78+| toml | ✓ | | | `taplo` |
79| tsq | ✓ | | | |
79| tsq | ✓ | | | |
80| tsx | ✓ | | | `typescript-language-server` |
80| tsx | ✓ | | | `typescript-language-server` |
81| twig | ✓ | | | |
81| twig | ✓ | | | |
languages.toml+1
@@ -59,6 +59,7 @@ injection-regex = "toml"
59file-types = ["toml"]
59file-types = ["toml"]
60roots = []
60roots = []
61comment-token = "#"
61comment-token = "#"
62+language-server = { command = "taplo", args = ["lsp", "stdio"] }
62indent = { tab-width = 2, unit = " " }
63indent = { tab-width = 2, unit = " " }
63
64
64[[grammar]]
65[[grammar]]