I reordered the code in a more clean an organized way. Also this improves a lot the emacs startup time again, bucause after some updates it becomes a bit slow with the old configuration, so i did it again in a new way.
20 lines
418 B
EmacsLisp
20 lines
418 B
EmacsLisp
;;; lang-rust.el --- Configuración para el lenguaje Rust -*- lexical-binding: t -*-
|
|
|
|
;; Author: kj <webmaster@outcontrol.net>
|
|
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
|
|
|
;;; Commentary:
|
|
|
|
;; Archivo de configuración para el lenguaje Rust
|
|
|
|
;;; Code:
|
|
|
|
(use-package rust-mode
|
|
:init
|
|
(setq rust-mode-treesitter-derive t)
|
|
:config
|
|
(setq rust-format-on-save t))
|
|
|
|
(provide 'lang-rust)
|
|
;;; lang-rust.el ends here
|