aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gen_json_schemas.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/gen_json_schemas.lua b/scripts/gen_json_schemas.lua
index c6bef210..ebb5e19b 100644
--- a/scripts/gen_json_schemas.lua
+++ b/scripts/gen_json_schemas.lua
@@ -106,7 +106,11 @@ end
---@field translate? boolean
---@field prefix? string Prepend this string to each schema property.
---- @type table<string, LspSchema>
+---@class LspSchemaOverrides : LspSchema
+---@field package_url? string
+---@field settings_file? boolean
+
+--- @type table<string, LspSchemaOverrides>
local overrides = {
lua_ls = {
translate = true,
@@ -126,6 +130,9 @@ local overrides = {
cssls = {
translate = true,
},
+ nixd = {
+ prefix = 'nixd.',
+ },
zls = {
prefix = 'zls.',
},