Skip to content

Commit

Permalink
Make adjustment to use vector function rather than vector literal
Browse files Browse the repository at this point in the history
For clarity - adjust formatting
  • Loading branch information
thatnerdjosh committed Nov 21, 2023
1 parent a9beb0b commit 7c90470
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions lsp-docker.el
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,14 @@ the docker container to run the language server."
"Default lsp-docker containerized servers priority (it needs to be bigger than default servers in order to override them)")

(defcustom lsp-docker-persistent-default-config
(-doto (ht)
(ht-set! 'server
(-doto (ht)
(ht-set! 'type "docker")
(ht-set! 'subtype "image")
(ht-set! 'name "emacslsp/lsp-docker-langservers")
(ht-set! 'server nil)
(ht-set! 'launch_command nil)))
(ht-set! 'mappings
(vector (-doto (ht)
(ht-set! 'source ".")
(ht-set! 'destination "/projects")))))
(ht ('server (ht ('type "docker")
('subtype "image")
('name "emacslsp/lsp-docker-langservers")
('server nil)
('launch_command nil)))
('mappings (vector
(ht ('source ".")
('destination "/projects")))))
"Default configuration for all language servers with persistent configurations"
:type 'hash-table
:group 'lsp-docker)
Expand Down

0 comments on commit 7c90470

Please sign in to comment.