vue: refactor

- Replaced `pcase` form with only one-arm with `when` or `unless` form
This commit is contained in:
Lucius Hu 2021-03-17 23:37:17 -04:00 committed by duianto
parent 58243c67f8
commit d5e563cc99

View file

@ -31,8 +31,8 @@
(defun spacemacs//vue-setup-company ()
"Conditionally setup company based on backend."
(pcase vue-backend
('dumb (spacemacs//vue-setup-dumb-company))))
(when (eq vue-backend 'dumb)
(spacemacs//vue-setup-dumb-company)))
;; lsp