Fix elixir HEEx

This commit is contained in:
Maciej 2023-03-16 15:28:56 +02:00
parent f9d4ec66c7
commit 835c3325ef
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 39 additions and 56 deletions

View file

@ -10,22 +10,6 @@
:straight t
:requires (lsp-mode lsp-ui))
(defhydra my-erlang/context-hydra (:color teal :hint nil)
"
^
^ LSP ^^Buffer
^
^ _m_: iMenu _r_: Reload
^^^ _i_: Indent
^^^ _e_: Show Errors
^
"
("q" nil "cancel" :color blue)
("r" revert-buffer-no-confirm)
("i" mark-and-indent-whole-buffer)
("e" flycheck-list-errors)
("m" lsp-ui-imenu))
(cl-defun erlang/emacs-path (erlang-version)
(car (split-string
(shell-command-to-string
@ -120,8 +104,6 @@
(add-to-list (make-local-variable 'company-backends)
'(company-capf company-yasnippet))
(define-key erlang-mode-map (kbd "C-c l") 'my-erlang/context-hydra/body)
;; Start LSP server
(lsp))