3 Commits

Author SHA1 Message Date
f543450459 Add Zed editor configuration sample
- Added zed.sample.settings.json with complete LSP configuration for Lua
- Updated ZED_EDITOR_SETUP.md to reference the sample configuration file
- Includes proper Lua 5.4 runtime settings and ReiLua globals
- Configured diagnostics and inlay hints for better developer experience
2025-11-03 23:57:29 +05:30
Indrajith K L
04d4948fcb Merge pull request #4 from cooljith91112/bugfix/fix-documentation-errors
Fix documentation errors in README
2025-11-03 23:48:08 +05:30
Indrajith K L
fcb8fdb4de Merge pull request #3 from cooljith91112/bugfix/fix-documentation-errors
docs: fix README formatting and improve documentation
2025-11-03 21:20:11 +05:30
2 changed files with 33 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ To make ReiLua API available for all projects:
## Method 3: Using Zed's LSP Configuration ## Method 3: Using Zed's LSP Configuration
Create a `.zed/settings.json` in your project: 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 ```json
{ {
"lsp": { "lsp": {

32
zed.sample.settings.json Normal file
View 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"
]
}
}
}
}