Skip to content

Commit

Permalink
Merge pull request #83 from thatnerdjosh/ht_usage
Browse files Browse the repository at this point in the history
Make adjustment to use vector function rather than vector literal
  • Loading branch information
factyy authored Nov 21, 2023
2 parents a9beb0b + 7c90470 commit 60e1103
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 60e1103

Please sign in to comment.