diff options
| author | 2025-10-27 11:50:48 +0200 | |
|---|---|---|
| committer | 2025-10-27 11:50:48 +0200 | |
| commit | ea37d28a91a072c2bf62d05b32d56d201a6716d8 (patch) | |
| tree | d9bd1d18b47521a6ff1e955034beb89aaa0115b0 | |
| parent | emacs: Reorder typst in treesit list (diff) | |
| download | dotfiles-ea37d28a91a072c2bf62d05b32d56d201a6716d8.tar.gz dotfiles-ea37d28a91a072c2bf62d05b32d56d201a6716d8.tar.xz dotfiles-ea37d28a91a072c2bf62d05b32d56d201a6716d8.zip | |
emacs: Replace elixir-mode with elixir-ts-mode
| -rw-r--r-- | emacs/.config/emacs/arkta/arkta-progmodes.el | 11 | ||||
| -rw-r--r-- | emacs/.config/emacs/arkta/arkta-treesit.el | 8 | ||||
| -rw-r--r-- | emacs/.config/emacs/init.el | 1 | ||||
| -rw-r--r-- | emacs/.config/emacs/straight/versions/default.el | 1 |
4 files changed, 13 insertions, 8 deletions
diff --git a/emacs/.config/emacs/arkta/arkta-progmodes.el b/emacs/.config/emacs/arkta/arkta-progmodes.el index 78da860..9da935e 100644 --- a/emacs/.config/emacs/arkta/arkta-progmodes.el +++ b/emacs/.config/emacs/arkta/arkta-progmodes.el | |||
| @@ -86,13 +86,10 @@ | |||
| 86 | :straight '(elisp-mode :type built-in) | 86 | :straight '(elisp-mode :type built-in) |
| 87 | :mode ("\\.el\\'" . emacs-lisp-mode)) | 87 | :mode ("\\.el\\'" . emacs-lisp-mode)) |
| 88 | 88 | ||
| 89 | (use-package elixir-mode | 89 | (use-package elixir-ts-mode |
| 90 | :straight t | 90 | ;; TODO: Format code on saving |
| 91 | :mode "\\.exs?\\'" | 91 | :straight '(elixir-ts-mode :type built-in) |
| 92 | :init | 92 | :mode "\\.exs?\\'") |
| 93 | (defun arkta/elixir-setup () | ||
| 94 | (add-hook 'before-save-hook #'elixir-format nil t)) | ||
| 95 | :hook (elixir-mode . arkta/elixir-setup)) | ||
| 96 | 93 | ||
| 97 | (use-package gdscript-mode | 94 | (use-package gdscript-mode |
| 98 | :straight t | 95 | :straight t |
diff --git a/emacs/.config/emacs/arkta/arkta-treesit.el b/emacs/.config/emacs/arkta/arkta-treesit.el index cfe063b..60952d6 100644 --- a/emacs/.config/emacs/arkta/arkta-treesit.el +++ b/emacs/.config/emacs/arkta/arkta-treesit.el | |||
| @@ -115,6 +115,10 @@ | |||
| 115 | ,(arkta/treesit-cond | 115 | ,(arkta/treesit-cond |
| 116 | (14 "v0.2.0"))) | 116 | (14 "v0.2.0"))) |
| 117 | 117 | ||
| 118 | (elixir "https://github.com/elixir-lang/tree-sitter-elixir" | ||
| 119 | ,(arkta/treesit-cond | ||
| 120 | (14 "v0.3.4"))) | ||
| 121 | |||
| 118 | (go "https://github.com/tree-sitter/tree-sitter-go.git" | 122 | (go "https://github.com/tree-sitter/tree-sitter-go.git" |
| 119 | ,(arkta/treesit-cond | 123 | ,(arkta/treesit-cond |
| 120 | (15 "v0.25.0") | 124 | (15 "v0.25.0") |
| @@ -124,6 +128,10 @@ | |||
| 124 | ,(arkta/treesit-cond | 128 | ,(arkta/treesit-cond |
| 125 | (14 "v1.1.0"))) | 129 | (14 "v1.1.0"))) |
| 126 | 130 | ||
| 131 | (heex "https://github.com/phoenixframework/tree-sitter-heex" | ||
| 132 | ,(arkta/treesit-cond | ||
| 133 | (14 "v0.8.0"))) | ||
| 134 | |||
| 127 | (java "https://github.com/tree-sitter/tree-sitter-java.git" | 135 | (java "https://github.com/tree-sitter/tree-sitter-java.git" |
| 128 | ,(arkta/treesit-cond | 136 | ,(arkta/treesit-cond |
| 129 | (14 "v0.23.5"))) | 137 | (14 "v0.23.5"))) |
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 18a095a..bbde1e1 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -59,6 +59,7 @@ | |||
| 59 | (csharp-mode . csharp-ts-mode) | 59 | (csharp-mode . csharp-ts-mode) |
| 60 | (css-mode . css-ts-mode) | 60 | (css-mode . css-ts-mode) |
| 61 | (dockerfile-mode . dockerfile-ts-mode) | 61 | (dockerfile-mode . dockerfile-ts-mode) |
| 62 | (elixir-mode . elixir-ts-mode) | ||
| 62 | (go-mode . go-ts-mode) | 63 | (go-mode . go-ts-mode) |
| 63 | (go-mod-mode . go-mod-ts-mode) | 64 | (go-mod-mode . go-mod-ts-mode) |
| 64 | (html-mode . mhtml-mode) | 65 | (html-mode . mhtml-mode) |
diff --git a/emacs/.config/emacs/straight/versions/default.el b/emacs/.config/emacs/straight/versions/default.el index 6f01f13..8c56d0d 100644 --- a/emacs/.config/emacs/straight/versions/default.el +++ b/emacs/.config/emacs/straight/versions/default.el | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | ("elisp-refs" . "541a064c3ce27867872cf708354a65d83baf2a6d") | 19 | ("elisp-refs" . "541a064c3ce27867872cf708354a65d83baf2a6d") |
| 20 | ("elpher" . "dcdeb86f7ae633e252f9ef8a73d3458e87c1ab12") | 20 | ("elpher" . "dcdeb86f7ae633e252f9ef8a73d3458e87c1ab12") |
| 21 | ("emacs-dashboard" . "e5fc08e78223487aa0da12539be1a23356c09ec7") | 21 | ("emacs-dashboard" . "e5fc08e78223487aa0da12539be1a23356c09ec7") |
| 22 | ("emacs-elixir" . "00d6580a040a750e019218f9392cf9a4c2dac23a") | ||
| 23 | ("emacs-emojify" . "1b726412f19896abf5e4857d4c32220e33400b55") | 22 | ("emacs-emojify" . "1b726412f19896abf5e4857d4c32220e33400b55") |
| 24 | ("emacs-gdscript-mode" . "bd0a741066a7bb2dfa51d2daec54fc38d56078a5") | 23 | ("emacs-gdscript-mode" . "bd0a741066a7bb2dfa51d2daec54fc38d56078a5") |
| 25 | ("emacs-kotlin-ts-mode" . "051c9ef534956c235343fb41546623ff87a1695b") | 24 | ("emacs-kotlin-ts-mode" . "051c9ef534956c235343fb41546623ff87a1695b") |