summaryrefslogtreecommitdiff
path: root/settings/setup-rustic-mode.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
committerbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
commit4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch)
tree450ba709847d3740eef79753c428095bdb08fe62 /settings/setup-rustic-mode.el
parent4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff)
downloademacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to see how I like it. We reduce init.el to a bare minimum configuration and remove the previous homebrew organizational scheme. A number of packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to 'settings/setup-rustic-mode.el')
-rw-r--r--settings/setup-rustic-mode.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/settings/setup-rustic-mode.el b/settings/setup-rustic-mode.el
deleted file mode 100644
index 75c8464..0000000
--- a/settings/setup-rustic-mode.el
+++ /dev/null
@@ -1,23 +0,0 @@
-(require 'dap-lldb)
-(require 'dap-gdb-lldb)
-;; installs .extension/vscode
-(dap-gdb-lldb-setup)
-(dap-register-debug-template
- "Rust::LLDB"
- (list :type "lldb"
- :request "launch"
- :name "LLDB::Run"
- :gdbpath "rust-lldb"
- :target nil
- :cwd (projectile-project-root)))
-
-(defun rk/rustic-mode-hook ()
- ;; so that run C-c C-c C-r works without having to confirm
- (setq-local buffer-save-without-query t))
-
-(setq rustic-format-on-save t)
-(setq lsp-rust-analyzer-server-display-inlay-hints t)
-(add-hook 'rustic-mode-hook 'rk/rustic-mode-hook)
-
-(provide 'setup-rustic-mode)
-;;; setup-rustic-mode.el ends here