aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorleoperegrino <55335068+leoperegrino@users.noreply.github.com>2026-04-29 15:18:12 -0300
committerGitHub <noreply@github.com>2026-04-29 14:18:12 -0400
commitdbd2a7aba5f167697db6ed95792b5e87083cc568 (patch)
tree93b55588117cc7588caec2747a8149ef9d309127 /scripts
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar.gz
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar.bz2
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar.lz
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar.xz
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.tar.zst
nvim-lspconfig-dbd2a7aba5f167697db6ed95792b5e87083cc568.zip
fix(nixd): prefix schema key by "nixd." #4410
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.',
},