Skip to content

Commit a688ed7

Browse files
authored
lsp--build-workspace-configuration-response: Use ht-get instead of ht-get* (#2380)
This is easier to read, but also, at the time of writing, the latest version of ht.el has changes that make ht-get* behave differently from before.
1 parent e1c4241 commit a688ed7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lsp-mode.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5952,7 +5952,9 @@ PARAMS are the `workspace/configuration' request params"
59525952
(path-parts-len (length path-parts)))
59535953
(cond
59545954
((<= path-parts-len 1)
5955-
(apply 'ht-get* `(,(lsp-configuration-section section?) ,@path-parts)))
5955+
(ht-get (lsp-configuration-section section?)
5956+
(car-safe path-parts)
5957+
(ht-create)))
59565958
((> path-parts-len 1)
59575959
(when-let ((section (lsp-configuration-section path-without-last))
59585960
(keys path-parts))

0 commit comments

Comments
 (0)