vue: refactor
- Replaced `pcase` form with only one-arm with `when` or `unless` form
This commit is contained in:
parent
58243c67f8
commit
d5e563cc99
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue