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

Add ssh-config-mode

parent 6fce913c
Branches
No related tags found
No related merge requests found
......@@ -872,6 +872,22 @@ 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))
(add-to-list 'tramp-remote-path "~/.cargo/bin")
#+end_src
#+RESULTS:
| ~/.cargo/bin | tramp-default-remote-path | /bin | /usr/bin | /sbin | /usr/sbin | /usr/local/bin | /usr/local/sbin | /local/bin | /local/freeware/bin | /local/gnu/bin | /usr/freeware/bin | /usr/pkg/bin | /usr/contrib/bin | /opt/bin | /opt/sbin | /opt/local/bin |
*** Integration with treemacs
LSP can integrate with treemacs to display packages, class, symbols and such.
......@@ -1139,6 +1155,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment