Create a config file for HTML languaje.
This commit is contained in:
parent
5526684a4b
commit
16aab9416c
@ -238,18 +238,6 @@
|
|||||||
;; Terminal
|
;; Terminal
|
||||||
(use-package vterm :ensure t :defer t :straight t)
|
(use-package vterm :ensure t :defer t :straight t)
|
||||||
|
|
||||||
(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)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
;; Cuando iniicias un atajo de teclas te muestra las posibilidades
|
;; Cuando iniicias un atajo de teclas te muestra las posibilidades
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:defer t
|
:defer t
|
||||||
|
31
configs/lang-html.el
Normal file
31
configs/lang-html.el
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
;;; lang-html.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 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
|
Loading…
Reference in New Issue
Block a user