jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.39k stars 259 forks source link

is there any method to `exclude` ? #946

Closed nesteiner closed 1 year ago

nesteiner commented 3 years ago

there is a conflict between a configure and web-mode keymap,

(use-package awesome-pair
  :load-path "~/workspace/repo/awesome-pair/"
  :hook (prog-mode . awesome-pair-mode)
  :bind (:map awesome-pair-mode-map
          ("(" . awesome-pair-open-round)
          ("[" . awesome-pair-open-bracket)
          ("{" . awesome-pair-open-curly)
          (")" . awesome-pair-close-round)
          ("]" . awesome-pair-close-bracket)
          ("}" . awesome-pair-close-curly)))

so I want to load this plugin when detecting web-mode not on, how can I do that

alphapapa commented 3 years ago

Since this is not a bug report, please use an appropriate forum for questions, such as https://old.reddit.com/r/emacs

skangas commented 1 year ago

I also suggest taking this support question to an external forum. Closing.