Update Luau docs (#21174)

Formatter arguments & Tree-sitter grammar changed.

Release Notes:

- N/A
This commit is contained in:
teapo
2024-11-25 12:11:23 -05:00
committed by GitHub
parent 389422cbf3
commit 28142be5e9
+2 -2
View File
@@ -5,7 +5,7 @@
Luau language support in Zed is provided by the community-maintained [Luau extension](https://github.com/4teapo/zed-luau).
Report issues to: [https://github.com/4teapo/zed-luau/issues](https://github.com/4teapo/zed-luau/issues)
- Tree Sitter: [tree-sitter-grammars/tree-sitter-luau](https://github.com/tree-sitter-grammars/tree-sitter-luau)
- Tree Sitter: [4teapo/tree-sitter-luau](https://github.com/4teapo/tree-sitter-luau)
- Language Server: [JohnnyMorganz/luau-lsp](https://github.com/JohnnyMorganz/luau-lsp)
## Configuration
@@ -33,7 +33,7 @@ Then add the following to your Zed `settings.json`:
"formatter": {
"external": {
"command": "stylua",
"arguments": ["-"]
"arguments": ["--stdin-filepath", "{buffer_path}", "-"]
}
}
}