merrickluo / lsp-tailwindcss

the lsp-mode client for tailwindcss
GNU General Public License v3.0
180 stars 21 forks source link

This package unbind C-c p p on Doom Emacs #22

Closed shackra closed 2 years ago

shackra commented 2 years ago

I made a module of this package for Doom Emacs, I noticed after running the sync command that "Open Project" option has no bind to C-c p p

generated    sep 12, 2021 13:48:34
system       "Arch Linux" Linux 5.13.5-arch1-1 x86_64 x
emacs        28.0.50 makepkg 85d0ed097 ~/.emacs.d/ -> ~/.emacs.d/
doom         3.0.0-alpha HEAD -> develop bf8495b41 2021-08-22 01:41:26 -0400 ~/.doom.d/ -> ~/.doom.d/
shell        /bin/zsh
features     ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB
traits       gui server-running envvar-file custom-file byte-compiled-config
custom       safe-local-variable-values custom-safe-themes
modules      :completion (company +childframe) (ivy +childframe +prescient +icons) :ui doom doom-dashboard doom-quit hl-todo hydra (ligatures +iosevka +extra) minimap modeline nav-flash ophints (popup +defaults) treemacs unicode vc-gutter vi-tilde-fringe window-select workspaces (&user tree-sitter) :editor file-templates fold (&user reformat) lispy multiple-cursors snippets :emacs (dired +icons) electric undo vc :term vterm :checkers syntax (spell +enchant) grammar :tools (eval +overlay) lookup (lsp +peek) (&user lsp-tailwindcss) magit pdf :lang data (dart +flutter +lsp) emacs-lisp (gdscript +lsp) (go +lsp) json (javascript +lsp) (latex +lsp) markdown (org +dragndrop +pretty +noter +pomodoro +present) (python +lsp) (rust +lsp) (sh +lsp) (web +lsp) yaml (&user rego) (&user deno) (&user pkgbuild) (&user nginx) :email mu4e :config literate (default +bindings)
packages     (openapi-yaml-mode :recipe (:host github :repo magoyette/openapi-yaml-mode :files (openapi-yaml-mode.el)) :pin 0e2e9e7772b1b819d9f0033c64f03ad074ac6ffd) (svelte-mode :recipe (:host github :repo leafOfTree/svelte-mode) :pin 25d0018036f44ff9bd685a1c9a76d8ba57c1024d) (dockerfile-mode :recipe (:host github :repo spotify/dockerfile-mode) :pin ad06a41259ff2961d603bf23a3a8fbd22dde2161)
merrickluo commented 2 years ago

That's wired, this package does not bind or unbind any keys, and I'm also using doom emacs as well, did you use non-evil binding? Can you check the output of M-x describe-key C-c p p ?

shackra commented 2 years ago

Ironically, if I make a fresh configuration with doom install and copy the module for this package into that fresh install, the shortcut is not unbind. Go figure! I cannot understand what could cause this.

the fresh installation with this package installed shackra-doom-conf.zip

shackra commented 2 years ago

That's wired, this package does not bind or unbind any keys, and I'm also using doom emacs as well, did you use non-evil binding? Can you check the output of M-x describe-key C-c p p ?

C-c p p runs the command persp-prev (found in persp-mode-map), which is an
interactive compiled Lisp function in ‘persp-mode.el’.

It is bound to C-c p p.

(persp-prev)

Switch to previous perspective (to the left).

and if I disable the package on my configuration

C-c p p runs the command projectile-switch-project (found in
projectile-mode-map), which is an interactive compiled Lisp function in
‘projectile.el’.

It is bound to C-c p p, <menu-bar> <projectile> <Switch to project>.

(projectile-switch-project &optional ARG)

Switch to a project we have visited before.
Invokes the command referenced by ‘projectile-switch-project-action’ on switch.
With a prefix ARG invokes ‘projectile-commander’ instead of
‘projectile-switch-project-action.’