Skip to content
Snippets Groups Projects
Commit 1d28cd31 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Merge branch 'master' of gitlab-ssh.univ-lille.fr:michael.hauspie/emacs

parents 572939a4 81a4d366
No related branches found
No related tags found
No related merge requests found
...@@ -914,6 +914,21 @@ LSP keybinds ...@@ -914,6 +914,21 @@ LSP keybinds
(setq lsp-keymap-prefix "s-l") (setq lsp-keymap-prefix "s-l")
#+end_src #+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 *** Integration with treemacs
LSP can integrate with treemacs to display packages, class, symbols and such. 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 ...@@ -1001,7 +1016,7 @@ For dockerfiles and docker-compose files, install some docker packages
(use-package dockerfile-mode) (use-package dockerfile-mode)
(use-package docker-compose-mode) (use-package docker-compose-mode)
(use-package docker) (use-package docker)
(use-package docker-tramp) ;(use-package docker-tramp)
(use-package docker-api) (use-package docker-api)
(use-package docker-cli) (use-package docker-cli)
#+end_src #+end_src
...@@ -1181,6 +1196,15 @@ emacsclient -a emacs ... ...@@ -1181,6 +1196,15 @@ emacsclient -a emacs ...
This will attempt to connect to Emacs server and run Emacs if the This will attempt to connect to Emacs server and run Emacs if the
server is not started yet. 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 * To check later
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment