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

29 lines
568 B
EmacsLisp

;;; lang-rust.el --- Configuración para el lenguaje PHP -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual
;;; Commentary:
;;; Code:
(use-package rust-mode
:defer t
:straight t
:ensure t
:config
(setq rust-format-on-save t))
(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))
(provide 'lang-rust)
;;; lang-rust.el ends here