Skip to content

Commit

Permalink
Merge pull request #848 from norris-young/get.remote.file.text.string
Browse files Browse the repository at this point in the history
Get only text string for tramp file name
  • Loading branch information
manateelazycat authored Feb 6, 2024
2 parents d2383f4 + 58f1c0f commit c009c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -2642,7 +2642,7 @@ I haven't idea how to make lsp-bridge works with `electric-indent-mode', PR are

(defun lsp-bridge-sync-tramp-remote ()
(interactive)
(let* ((file-name (buffer-file-name))
(let* ((file-name (lsp-bridge-get-buffer-file-name-text))
(tramp-vec (tramp-dissect-file-name file-name))
(user (tramp-file-name-user tramp-vec))
(host (tramp-file-name-host tramp-vec))
Expand Down

0 comments on commit c009c8a

Please sign in to comment.