Compare commits
3 Commits
bugfix/fix
...
chore/edit
| Author | SHA1 | Date | |
|---|---|---|---|
| f543450459 | |||
|
|
04d4948fcb | ||
|
|
fcb8fdb4de |
@@ -130,7 +130,7 @@ To make ReiLua API available for all projects:
|
||||
## Method 3: Using Zed's LSP Configuration
|
||||
|
||||
Create a `.zed/settings.json` in your project:
|
||||
|
||||
> Note There is a sample zed settings json file in the repo root (zed.sample.settings.json)
|
||||
```json
|
||||
{
|
||||
"lsp": {
|
||||
|
||||
32
zed.sample.settings.json
Normal file
32
zed.sample.settings.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"inlay_hints": {
|
||||
"enabled": true
|
||||
},
|
||||
"lsp": {
|
||||
"lua-language-server": {
|
||||
"settings": {
|
||||
"Lua.runtime.version": "Lua 5.4",
|
||||
"Lua.workspace.library": [
|
||||
"."
|
||||
],
|
||||
"Lua.completion.enable": true,
|
||||
"Lua.completion.callSnippet": "Replace",
|
||||
"Lua.completion.displayContext": 3,
|
||||
"Lua.diagnostics.globals": [
|
||||
"RL"
|
||||
],
|
||||
"Lua.hint.enable": true,
|
||||
"Lua.hint.paramName": "All",
|
||||
"Lua.hint.setType": true,
|
||||
"Lua.hint.paramType": true,
|
||||
"Lua.diagnostics.disable": [
|
||||
"lowercase-global",
|
||||
"unused-local",
|
||||
"duplicate-set-field",
|
||||
"missing-fields",
|
||||
"undefined-field"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user