aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-01-18 12:17:53 +0100
committeralexpdp7 <alex@corcoles.net>2026-01-18 11:18:44 +0000
commit98a78aee36a35e58c5a18114085aa5c9d890987e (patch)
tree21bfc1141dbe1b1a82d1382e528d6eb64544c743
parent7bff17a221793b176a9b698998b49d30ac28cfab (diff)
Improve remote eglot language server path discovery
-rw-r--r--emacs/emacs.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index 807d1ed2..50639786 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -67,6 +67,9 @@
:config
(global-kkp-mode +1))
+;; Helps eglot locate remote language servers, such as ones in ~/.local/bin
+(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
+
;; Install xclip so cutting/copying in Emacs on a terminal affects the graphical clipboard
(use-package xclip
:ensure t