confi-emacs-actual/configs/lang-rust.el

30 lines
657 B
EmacsLisp
Raw Normal View History

;;; lang-rust.el --- Configuración para el lenguaje PHP -*- lexical-binding: t -*-
2022-05-06 23:29:24 +02:00
;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual
;;; Commentary:
;;; Code:
(use-package rust-mode
:defer t
2022-05-27 23:04:28 +02:00
:straight t
2022-05-18 09:08:59 +02:00
:ensure t
:config
(setq rust-format-on-save t))
2022-05-06 23:29:24 +02:00
2023-02-05 22:28:21 +01:00
;; Rustic es necesario solamente si se usa lsp-mode + flycheck.
;; (use-package rustic
;; :defer t
;; :straight t
;; :ensure t
;; :config
;; ;;(setq rustic-lsp-server 'rls)
;; (setq rustic-lsp-client 'lsp)
;; ;;(setq rustic-lsp-client nil)
;; (push 'rustic-clippy flycheck-checkers))
2022-05-06 23:29:24 +02:00
(provide 'lang-rust)
;;; lang-rust.el ends here