P233 / emmet2-mode

An Emmet-powered minor mode for Emacs, offering the full suite of Emmet capabilities and an extensive range of additional features.
15 stars 0 forks source link

Some help #1

Open StoicIndividual opened 10 months ago

StoicIndividual commented 10 months ago

Hi, emmet-mode has been unmaintained for a while and I was searching for an alternative and found this project, i tried to install it to check it out but i've had no luck, i'm using elpaca and installed deno, but keep having issues with websocket, these are the commands i used:

(elpaca (deno-bridge :host github :repo "manateelazycat/deno-bridge"))
(elpaca websocket)
(elpaca (emmet2-mode :host github :repo "p233/emmet2-mode"))

and

(use-package deno-bridge
  :elpaca (:type git :host github :repo "manateelazycat/deno-bridge")
  :init
  (use-package websocket :demand t))

(use-package emmet2-mode
  :elpaca (:type git :host github :repo "p233/emmet2-mode" :files (:defaults "*.ts" "src" "data"))
  :after deno-bridge
  :hook ((web-mode css-mode) . emmet2-mode)                     ;; Enable emmet2-mode for web-mode and css-mode and other major modes based on them, such as the build-in scss-mode
  :config                                                       ;; OPTIONAL
  (unbind-key "C-j" emmet2-mode-map)                            ;; Unbind the default expand key
  (define-key emmet2-mode-map (kbd "C-c C-.") 'emmet2-expand))  ;; Bind custom expand key
P233 commented 6 months ago

Hi @StoicIndividual, I apologize for the late reply. For some reason, I did not receive any updates about this issue.

I am not familiar with Elpaca, but your code looks promising to me. Could you please post the error message?