kj
a7045d3b30
- Rename org-config.el to base-org.el. - Enable lsp by default. - Improve lsp. - Add citre package (ctags IDE). - Add ripgrep search. - Add pomidor (pomodoro timer). - Move keybinding for improve load time (some are deleted or changed). - Add C-x C-r keybinding for recent files. - And more...
31 lines
513 B
EmacsLisp
31 lines
513 B
EmacsLisp
;;; lang-js.el --- Configuración para el lenguaje Javascript -*- lexical-binding: t -*-
|
|
|
|
;; Author: kj <webmaster@outcontrol.net>
|
|
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
(use-package js
|
|
:defer t
|
|
:straight t
|
|
:mode
|
|
("\\.js$" . js-mode)
|
|
:config
|
|
(setq js-indent-level 2))
|
|
|
|
;; json-mode
|
|
(use-package json-mode
|
|
:defer t
|
|
:straight t
|
|
:ensure t
|
|
:mode
|
|
("\\.json$" . json-mode)
|
|
:config
|
|
(setq js-indent-level 2))
|
|
|
|
|
|
(provide 'lang-js)
|
|
;;; lang-js.el ends here
|