From f543450459bc2309e01df70073f30dcf7038b170 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 3 Nov 2025 23:57:29 +0530 Subject: 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 --- zed.sample.settings.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 zed.sample.settings.json (limited to 'zed.sample.settings.json') diff --git a/zed.sample.settings.json b/zed.sample.settings.json new file mode 100644 index 0000000..9c96424 --- /dev/null +++ b/zed.sample.settings.json @@ -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" + ] + } + } + } +} -- cgit v1.2.3