Skip to content

Commit

Permalink
feat: remove rustic-mode package
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Jul 23, 2024
1 parent b9979b5 commit 7644e0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 82 deletions.
16 changes: 4 additions & 12 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -3842,21 +3842,13 @@ Pretty check-boxes as well as bullet lists.

** rust
#+begin_src emacs-lisp :tangle yes
(use-package rustic
:ensure t
:mode
("\\.rs\\'" . rustic-mode)
(use-package rust-ts-mode
:mode "\\.rs\\'"
:hook
(rustic-mode-hook . eglot-ensure)
:general
(:keymaps
'rustic-mode-map
:prefix local-leader-key
"t" 'rustic-cargo-test)
(rust-ts-mode-hook . eglot-ensure)
:init
(setq rustic-lsp-client 'eglot)
(with-eval-after-load 'org
(cl-pushnew '("rust" . rustic) org-src-lang-modes :test #'equal)))
(cl-pushnew '("rust" . rust-ts-mode) org-src-lang-modes :test #'equal)))
#+end_src

** scala
Expand Down
53 changes: 1 addition & 52 deletions lock/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions lock/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -839,18 +839,6 @@
repo = "rspec-mode";
type = "github";
};
rust-mode = {
flake = false;
owner = "rust-lang";
repo = "rust-mode";
type = "github";
};
rustic = {
flake = false;
owner = "emacs-rustic";
repo = "rustic";
type = "github";
};
"s" = {
flake = false;
owner = "magnars";
Expand Down Expand Up @@ -1012,12 +1000,6 @@
repo = "ws-butler";
type = "github";
};
xterm-color = {
flake = false;
owner = "atomontage";
repo = "xterm-color";
type = "github";
};
};
outputs = { ... }: { };
}

0 comments on commit 7644e0c

Please sign in to comment.