Update Luau docs (#21174)
Formatter arguments & Tree-sitter grammar changed. Release Notes: - N/A
This commit is contained in:
@@ -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}", "-"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user