fix(zls): update config

This commit is contained in:
2024-08-05 01:13:12 +02:00
parent e7ff47b728
commit 2db2fdd1de
+5 -3
View File
@@ -1,5 +1,6 @@
-- spec: https://github.com/zigtools/zls#configuration-options -- spec: https://github.com/zigtools/zls#configuration-options
---@type ServerConfig
return { return {
enable = true, enable = true,
dependencies = { dependencies = {
@@ -18,11 +19,12 @@ return {
single_file_support = true, single_file_support = true,
settings = { settings = {
zls = { zls = {
enable_autofix = false,
enable_inlay_hints = false,
enable_build_on_save = true,
warn_style = true, warn_style = true,
highlight_global_var_declarations = true, highlight_global_var_declarations = true,
inlay_hints_show_variable_type_hints = false,
inlay_hints_show_struct_literal_field_type = false,
inlay_hints_show_parameter_name = false,
inlay_hints_show_builtin = false,
}, },
}, },
}, },