First commit.
This commit is contained in:
28
configs/lang-js.el
Normal file
28
configs/lang-js.el
Normal file
@ -0,0 +1,28 @@
|
||||
;;; lang-js.el --- Configuración para el lenguaje Javascript
|
||||
|
||||
;; Author: kj <webmaster@outcontrol.net>
|
||||
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package js
|
||||
:defer t
|
||||
:mode
|
||||
("\\.js$" . js-mode)
|
||||
:config
|
||||
(setq js-indent-level 2))
|
||||
|
||||
;; json-mode
|
||||
(use-package json-mode
|
||||
:defer t
|
||||
:ensure t
|
||||
:mode
|
||||
("\\.json$" . json-mode)
|
||||
:config
|
||||
(setq js-indent-level 2))
|
||||
|
||||
|
||||
(provide 'lang-js)
|
||||
;;; lang-js.el ends here
|
Reference in New Issue
Block a user