Skip to content

Commit

Permalink
Merge pull request #87 from vmfhrmfoaj/master
Browse files Browse the repository at this point in the history
Add the quote to avoid evaluating the list of LSP major mode
  • Loading branch information
factyy authored Feb 26, 2024
2 parents 60e1103 + aa0a558 commit f5eb3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-docker.el
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Argument DOCKER-CONTAINER-NAME name to use for container."
(let ((current-project-root (lsp-workspace-root))
(registered-project-root ,project-dir)
(base-activation-fn ,(lsp--client-activation-fn base-lsp-client))
(base-major-modes ,(lsp--client-major-modes base-lsp-client)))
(base-major-modes ',(lsp--client-major-modes base-lsp-client)))
(and (f-same? current-project-root registered-project-root)
(or (if (functionp base-activation-fn)
(funcall base-activation-fn current-file-name current-major-mode)
Expand Down

0 comments on commit f5eb3f4

Please sign in to comment.