summaryrefslogtreecommitdiff
path: root/lisp/js-mode-custom.el
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-08-23 08:57:49 -0400
committermattkae <mattkae@protonmail.com>2022-08-23 08:57:49 -0400
commitf9893ba2781cf0b31044d1686632863278392fc8 (patch)
tree541e8bc4bc72c5d957381c29089d6bca722028e1 /lisp/js-mode-custom.el
parent90dffcdc5013e129d7f974ec6f795e61af31d1bb (diff)
Hightlight line for js mode
Diffstat (limited to 'lisp/js-mode-custom.el')
-rw-r--r--lisp/js-mode-custom.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/js-mode-custom.el b/lisp/js-mode-custom.el
index 094d613..5c687f3 100644
--- a/lisp/js-mode-custom.el
+++ b/lisp/js-mode-custom.el
@@ -1,5 +1,7 @@
(defun setup-js()
(setq js-indent-level 2)
+ (hl-line-mode 1)
+ (set-face-background hl-line-face "#EFEFEF")
)
(add-to-list 'auto-mode-alist '("\\.jsx$" . web-mode))