Skip to content

Commit

Permalink
indent elisp
Browse files Browse the repository at this point in the history
  • Loading branch information
brotzeit committed Nov 20, 2019
1 parent 755a1c2 commit 6edaa27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lsp-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@
(defun lsp-clj--file-in-jar (uri)
(string-match "^\\(jar\\|zip\\):\\(file:.+\\)!/\\(.+\\)" uri)
(-when-let* ((entry (match-string 3 uri))
(path (lsp--uri-to-path (match-string 2 uri)))
(name (format "%s:%s" path entry))
(content (lsp-send-request (lsp-make-request "clojure/dependencyContents" (list :uri uri)))))
(path (lsp--uri-to-path (match-string 2 uri)))
(name (format "%s:%s" path entry))
(content (lsp-send-request (lsp-make-request "clojure/dependencyContents" (list :uri uri)))))
(if (find-buffer-visiting name)
(message "buffer %s exists" name)
(with-current-buffer (generate-new-buffer name)
Expand Down
6 changes: 3 additions & 3 deletions lsp-rust.el
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ PARAMS progress report notification data."

(defun lsp-rust-analyzer-initialized? ()
(when-let ((workspace (lsp-find-workspace 'rust-analyzer (buffer-file-name))))
(eq 'initialized (lsp--workspace-status workspace))))
(eq 'initialized (lsp--workspace-status workspace))))

(defun lsp-rust-analyzer-inlay-hints-change-handler (&rest _rest)
(when lsp-rust-analyzer-inlay-hints-timer
Expand All @@ -479,8 +479,8 @@ PARAMS progress report notification data."

;; activate `lsp-rust-analyzer-inlay-hints-mode'
(when lsp-rust-analyzer-server-display-inlay-hints
(add-hook 'rustic-mode-hook (lambda () (lsp-rust-analyzer-inlay-hints-mode)))
(add-hook 'rust-mode-hook (lambda () (lsp-rust-analyzer-inlay-hints-mode))))
(add-hook 'rustic-mode-hook (lambda () (lsp-rust-analyzer-inlay-hints-mode)))
(add-hook 'rust-mode-hook (lambda () (lsp-rust-analyzer-inlay-hints-mode))))

(provide 'lsp-rust)
;;; lsp-rust.el ends here
Expand Down
2 changes: 1 addition & 1 deletion lsp-vhdl.el
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ HDL Checker: A wrapper for third party tools such as GHDL, ModelSim, Vivado Simu
(make-lsp-client :new-connection (lsp-vhdl--create-connection)
:major-modes '(vhdl-mode)
:language-id "VHDL"
:priority -1
:priority -1
:server-id 'lsp-vhdl))

(provide 'lsp-vhdl)
Expand Down

0 comments on commit 6edaa27

Please sign in to comment.