Working config with new elixir

no evil inside magit though I think we had evil everywhere
This commit is contained in:
Willem van den Ende
2024-01-05 14:19:36 +00:00
parent 1aa1f1b022
commit 361d8de0a6
3 changed files with 10 additions and 28 deletions
+4 -22
View File
@@ -44,6 +44,10 @@
; (define-key org-roam-mode-map [mouse-1] #'org-roam-visit-thing)
(require 'org-roam)
;; elixir
(use-package eglot)
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs '(elixir-ts-mode . ("sh" "/Users/willem/.elixir-ls/release/language_server.sh" ))))
;; fix pdflatex for pdf export
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin"))
@@ -415,25 +419,3 @@ the description. This may destroy existing links, or change their targets so use
#'org-roam-node-insert-immediate)
;; elixir - eglot
;; eglot configuration
(use-package elixir-mode)
(use-package eglot)
(use-package exunit)
(add-to-list
'eglot-server-programs
'(elixir-mode . ("sh" "/Users/willem/.elixir-ls/release/language_server.sh" )))
(add-hook
'elixir-mode-hook
(lambda ()
(subword-mode)
(eglot-ensure)
(company-mode)
(flymake-mode)
(add-hook 'before-save-hook 'eglot-format nil t)
))
(setq inf-elixir-project-command "iex -S mix phx.server")
(setq rmh-elfeed-org-files (list "~/.doom.d/elfeed.org"))
+4 -4
View File
@@ -35,13 +35,13 @@
doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
;;fill-column ; a `fill-column' indicator
fill-column ; a `fill-column' indicator
;; hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
;;indent-guides ; highlighted indent columns
;;ligatures ; ligatures and symbols to make your code pretty again
;; minimap ; show a map of the code on the side
;; modeline ; snazzy, Atom-inspired modeline, plus API
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions
;; neotree ; a project drawer, like NERDTree for vim
;; ophints ; highlight the region an operation acts on
@@ -49,7 +49,7 @@
;;tabs ; a tab bar for Emacs
;;treemacs ; a project drawer, like neotree but cooler
;;unicode ; extended unicode support for various languages
;; vc-gutter ; vcs diff in the fringe
vc-gutter ; vcs diff in the fringe
;; vi-tilde-fringe ; fringe tildes to mark beyond EOB
;;window-select ; visually switch windows
;; workspaces ; tab emulation, persistence & separate workspaces
@@ -123,7 +123,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 +lsp) ; erlang done right
;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age
+1 -1
View File
@@ -17,7 +17,7 @@
(package! pair-tree)
;; elixir
;;
(package! elixir-mode)
(package! elixir-ts-mode)
(package! eglot)
(package! exunit)
(package! inf-elixir)