Skip to content

Commit

Permalink
fix: #459 remove skewer-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Jan 3, 2025
1 parent 560a979 commit e67461c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
1 change: 0 additions & 1 deletion lisp/init-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
(html-mode . ("html"))
(julia-mode . ("julia~1.8"))
(js-mode . ("javascript" "jquery"))
(js2-mode . ("javascript" "jquery"))
(emacs-lisp-mode . ("elisp")))
"Alist of major-mode and docs.")

Expand Down
19 changes: 3 additions & 16 deletions lisp/init-web.el
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,10 @@
(when (executable-find "prettier")
(use-package prettier
:diminish
:hook ((js-mode js2-mode css-mode sgml-mode web-mode) . prettier-mode)
:hook ((js-mode css-mode sgml-mode web-mode) . prettier-mode)
:init (setq prettier-pre-warm 'none)))

;; Live browser JavaScript, CSS, and HTML interaction
(use-package skewer-mode
:diminish
:functions diminish
:hook (((js-mode js2-mode) . skewer-mode)
(css-mode . skewer-css-mode)
((html-mode web-mode) . skewer-html-mode))
:init
;; diminish
(with-eval-after-load 'skewer-css
(diminish 'skewer-css-mode))
(with-eval-after-load 'skewer-html
(diminish 'skewer-html-mode)))

;; Typescript
(use-package typescript-mode
:mode ("\\.ts[x]\\'" . typescript-mode))

Expand All @@ -133,7 +120,7 @@

;; Adds node_modules/.bin directory to `exec_path'
(use-package add-node-modules-path
:hook ((web-mode js-mode js2-mode) . add-node-modules-path))
:hook ((web-mode js-mode) . add-node-modules-path))

(use-package haml-mode)
(use-package php-mode)
Expand Down

0 comments on commit e67461c

Please sign in to comment.