refactor(elixir): switch from elixir-ls to expert LSP, drop +lsp module
This commit is contained in:
@@ -73,7 +73,10 @@
|
||||
)
|
||||
|
||||
(with-eval-after-load 'eglot
|
||||
(add-to-list 'eglot-server-programs '(elixir-ts-mode . ("sh" "~/.elixir-ls/release/language_server.sh"))))
|
||||
(setf (alist-get '(elixir-mode elixir-ts-mode heex-ts-mode)
|
||||
eglot-server-programs
|
||||
nil nil #'equal)
|
||||
'("expert" "--stdio")))
|
||||
|
||||
(use-package
|
||||
elixir-ts-mode
|
||||
@@ -394,8 +397,8 @@
|
||||
(use-package! pi-coding-agent
|
||||
:commands pi
|
||||
:init (defalias 'pi 'pi-coding-agent)
|
||||
:custom pi-coding-agent-executable '("devcontainer" "exec" "pi"))
|
||||
|
||||
;; :custom pi-coding-agent-executable '("devcontainer" "exec" "pi"))
|
||||
)
|
||||
;; Load machine-specific configuration (gptel backends, etc.)
|
||||
(load! "config-mac.el" doom-user-dir t)
|
||||
|
||||
|
||||
@@ -4,16 +4,11 @@
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(safe-local-variable-values
|
||||
'((qwan-markdown-attachment-dir
|
||||
. "/Users/willem/dev/elixir/firehose/app/priv/static/images/blog/2026")
|
||||
(qwan-markdown-attachment-dir
|
||||
. "/Users/willem/dev/elixir/firehoseapp/priv/static/images/blog/2026")
|
||||
(eval setq-local org-roam-db-location
|
||||
(expand-file-name "org-roam.db" org-roam-directory))
|
||||
'((eval setq-local org-roam-db-location
|
||||
(expand-file-name "org-roam.db" org-roam-directory))
|
||||
(eval setq-local org-roam-directory
|
||||
(expand-file-name
|
||||
(locate-dominating-file default-directory ".dir-locals.el")))
|
||||
(qwan-markdown-attachment-dir . "app/priv/static/images/blog/2026"))))
|
||||
(expand-file-name
|
||||
(locate-dominating-file default-directory ".dir-locals.el"))))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
;;csharp ; unity, .NET, and mono shenanigans
|
||||
;;data ; config/data formats
|
||||
;;(dart +flutter) ; paint ui and not much else
|
||||
(elixir +lsp) ; erlang done right
|
||||
(elixir) ; erlang done right
|
||||
;;elm ; care for a cup of TEA?
|
||||
emacs-lisp ; drown in parentheses
|
||||
;;erlang ; an elegant language for a more civilized age
|
||||
|
||||
Reference in New Issue
Block a user