use 2 spaces in javascript and json modes
This commit is contained in:
parent
7513c18c06
commit
27b27d4f5f
18
etc/conf.org
18
etc/conf.org
|
@ -950,17 +950,23 @@ Overlays hex color codes with matching colors in certain modes like css and html
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
:straight t)
|
:straight t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** JSON
|
*** Javascript
|
||||||
|
**** tabs
|
||||||
|
An exception to the rule
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq js-indent-level 2)
|
||||||
|
#+END_SRC
|
||||||
|
**** inferior mode
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package js-comint
|
||||||
|
:straight t)
|
||||||
|
#+END_SRC
|
||||||
|
**** JSON
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
:straight t
|
:straight t
|
||||||
:hook (json-mode . origami-mode))
|
:hook (json-mode . origami-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Javascript
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package js-comint
|
|
||||||
:straight t)
|
|
||||||
#+END_SRC
|
|
||||||
*** markdown
|
*** markdown
|
||||||
Make font sizes smaller and less intrusive for headers
|
Make font sizes smaller and less intrusive for headers
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue