加入了
;; 最简洁的格式
(use-package restart-emacs)
;; 常用的格式
(use-package smooth-scrolling
:ensure t ;是否一定要确保已安装
:defer nil ;是否要延迟加载
:init (setq smooth-scrolling-margin 2) ;初始化参数
:config (smooth-scrolling-mode t) ;基本配置参数
:bind ;快捷键的绑定
:hook) ;hook模式的绑定
后报错如下 Error (use-package): Failed to parse package smooth-scrolling: use-package: :hook wants a non-empty list 各种都搜不到解决方案 请问:我该怎么解决?