File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -274,12 +274,9 @@ Example: '((css-unused-selector . ignore) (unused-export-let . error))"
274
274
" svelte" ))
275
275
:initialization-options
276
276
(lambda ()
277
- ; ; XXX: workaround for https://github.com/Wilfred/ht.el/issues/38
278
- ; ; Use `ht-get*' instead of `lsp--ht-get' when
279
- ; ; https://github.com/Wilfred/ht.el/pull/39 is merged
280
- (list :config (lsp--ht-get (lsp-configuration-section " svelte.plugin" )
281
- " svelte"
282
- " plugin" )
277
+ (list :config (ht-get* (lsp-configuration-section " svelte.plugin" )
278
+ " svelte"
279
+ " plugin" )
283
280
:prettierConfig (lsp-configuration-section " prettier" )
284
281
:emmetConfig (lsp-configuration-section " emmet" )
285
282
:typescriptConfig: (list :typescript (lsp-configuration-section " typescript" )
Original file line number Diff line number Diff line change @@ -2001,14 +2001,6 @@ WORKSPACE is the workspace that contains the diagnostics."
2001
2001
2002
2002
2003
2003
2004
- (defun lsp--ht-get (tbl &rest keys)
2005
- "Get nested KEYS in TBL."
2006
- (let ((val tbl))
2007
- (while (and keys val)
2008
- (setq val (ht-get val (cl-first keys)))
2009
- (setq keys (cl-rest keys)))
2010
- val))
2011
-
2012
2004
;; textDocument/foldingRange support
2013
2005
2014
2006
(cl-defstruct lsp--folding-range beg end kind children)
You can’t perform that action at this time.
0 commit comments