Skip to content

Commit

Permalink
docs: fix the use-package declaration in README
Browse files Browse the repository at this point in the history
Fixes #1207
  • Loading branch information
Fuco1 committed Jun 27, 2024
1 parent f7cf316 commit 36f2e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ You may want to try `smartparens-strict-mode`. This enforces that
pairs are always balanced, so commands like `kill-line` keep your code
well-formed.

You can also use `use-package` to install and setup `smartparens`. A minimal config is:
You can also use `use-package` to install and setup `smartparens`. An example config is:

``` elisp
(use-package smartparens-mode
(use-package smartparens
:ensure smartparens ;; install the package
:hook (prog-mode text-mode markdown-mode) ;; add `smartparens-mode` to these hooks
:config
Expand Down

0 comments on commit 36f2e80

Please sign in to comment.