Update Luau docs (#21174)
Formatter arguments & Tree-sitter grammar changed. Release Notes: - N/A
This commit is contained in:
parent
389422cbf3
commit
28142be5e9
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
Luau language support in Zed is provided by the community-maintained [Luau extension](https://github.com/4teapo/zed-luau).
|
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)
|
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)
|
- Language Server: [JohnnyMorganz/luau-lsp](https://github.com/JohnnyMorganz/luau-lsp)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
@ -33,7 +33,7 @@ Then add the following to your Zed `settings.json`:
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"external": {
|
"external": {
|
||||||
"command": "stylua",
|
"command": "stylua",
|
||||||
"arguments": ["-"]
|
"arguments": ["--stdin-filepath", "{buffer_path}", "-"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue