Any #elixir devs using #HelixEditor or really any type of editor that requires elixir-ls?

How do you install Elixir-ls on #Fedora ?

I'm so used to NixOS where it's just packaged, but can't seem to figure out how to do this in Fedora (i'm on an M1 running asahi right now)

Reply to this note

Please Login to reply.

Discussion

#Emacs with elixir-mode under #NixOS and elixir-ls (which Emacs offered to download itself at some point) works perfectly for me.

(use-package elixir-mode

:ensure t

:bind

(:map elixir-mode-map

("M-." . lsp-find-definition)

("M-," . xref-pop-marker-stack)

("C-M-," . (lambda ()

(interactive)

(kill-current-buffer)

(xref-pop-marker-stack)))

("" . lsp-mode)

("" . (lambda () (interactive)

(lsp-describe-thing-at-point)

(next-window-any-frame))))

:config

(add-hook 'elixir-mode-hook 'lsp-deferred)

(add-hook 'lsp-mode-hook 'lsp-ui-mode)

(add-to-list 'auto-mode-alist '("\\.ex\\'" . elixir-mode))

(add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-mode))

)