2022-06-01 15:18:06 +02:00
|
|
|
;;; 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
|
|
|
|
|
|
|
(use-package rustic
|
|
|
|
:defer t
|
2022-05-27 23:04:28 +02:00
|
|
|
:straight t
|
2022-05-06 23:29:24 +02:00
|
|
|
:ensure t
|
|
|
|
:config
|
2022-05-27 18:23:09 +02:00
|
|
|
;;(setq rustic-lsp-server 'rls)
|
|
|
|
;;(setq rustic-lsp-client 'lsp)
|
2022-06-01 15:18:06 +02:00
|
|
|
;;(setq rustic-lsp-client nil)
|
2022-05-06 23:29:24 +02:00
|
|
|
(push 'rustic-clippy flycheck-checkers))
|
|
|
|
|
|
|
|
(provide 'lang-rust)
|
|
|
|
;;; lang-rust.el ends here
|