2023-04-14 18:39:19 +02:00
|
|
|
;;; lang-html.el --- Configuración para el lenguaje HTML -*- lexical-binding: t -*-
|
2023-04-13 07:57:17 +02:00
|
|
|
|
|
|
|
;; Author: kj <webmaster@outcontrol.net>
|
|
|
|
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
2023-04-14 18:39:19 +02:00
|
|
|
;; Archivo de configuración para el lenguaje HTML
|
|
|
|
|
2023-04-13 07:57:17 +02:00
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
(use-package web-mode
|
|
|
|
:straight t
|
|
|
|
:defer t
|
|
|
|
:config
|
|
|
|
(setq web-mode-markup-indent-offset 2
|
|
|
|
web-mode-css-indent-offset 2
|
|
|
|
web-mode-code-indent-offset 2
|
|
|
|
web-mode-enable-current-element-highlight t
|
|
|
|
web-mode-enable-current-column-highlight t)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
(use-package auto-rename-tag
|
|
|
|
:straight t (auto-rename-tag :type git :host github :repo "jcs-elpa/auto-rename-tag")
|
|
|
|
:defer t
|
|
|
|
:hook ((html-mode . auto-rename-tag-mode)
|
|
|
|
(web-mode . auto-rename-tag-mode))
|
|
|
|
)
|
|
|
|
|
|
|
|
(provide 'lang-html)
|
|
|
|
;;; lang-html.el ends here
|