Settings for remote dev on podman via TRAMP

This commit is contained in:
Wojciech Kozlowski 2023-06-26 08:20:00 +02:00
parent bbadac0cf1
commit 0dbd262ec4

View File

@ -214,6 +214,8 @@
;; Podman > docker.
(after! docker (setq docker-command "podman"))
(after! docker-tramp (setq docker-tramp-method "podman"
docker-tramp-docker-executable "podman"))
(after! dockerfile-mode (setq dockerfile-mode-command "podman"))
;; Fix git-gutter advice for magit.
@ -233,6 +235,12 @@
;; Don't use the LSP formatter.
(after! lsp (setq +format-with-lsp nil))
(after! lsp-mode
(lsp-register-client
(make-lsp-client :new-connection (lsp-tramp-connection "clangd")
:major-modes '(c-mode c++-mode)
:remote? t
:server-id 'clangd-remote)))
;; Python virtualenv configuration.
(after! lsp-pyright