diff --git a/configuration.org b/configuration.org index 408c566dfd8b27c750c4bf16803b8d28d165fbfc..79ae5ccdca529e9bab9062ed6e495278e0aace05 100644 --- a/configuration.org +++ b/configuration.org @@ -914,6 +914,21 @@ LSP keybinds (setq lsp-keymap-prefix "s-l") #+end_src +*** LSP through TRAMP + +For rust + +#+begin_src emacs-lisp +;; (lsp-register-client +;; (make-lsp-client :new-connection (lsp-tramp-connection "rust-analyzer") +;; :major-modes '(rust-mode) +;; :remote? t +;; :server-id 'rust-analyzer-remote)) +(with-eval-after-load "tramp" (add-to-list 'tramp-remote-path "~/.cargo/bin")) +#+end_src + + + *** Integration with treemacs LSP can integrate with treemacs to display packages, class, symbols and such. @@ -1001,7 +1016,7 @@ For dockerfiles and docker-compose files, install some docker packages (use-package dockerfile-mode) (use-package docker-compose-mode) (use-package docker) -(use-package docker-tramp) +;(use-package docker-tramp) (use-package docker-api) (use-package docker-cli) #+end_src @@ -1181,6 +1196,15 @@ emacsclient -a emacs ... This will attempt to connect to Emacs server and run Emacs if the server is not started yet. +Add synthax highlighting for ssh_config files + +#+begin_src emacs-lisp +(use-package ssh-config-mode) +#+end_src + +#+RESULTS: +: t + * To check later