Skip to content

Commit

Permalink
fix typo at lua config file sample
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhvs committed Sep 20, 2023
1 parent 8dfc802 commit 4a1227f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ It currently only has first-class support for the `clojure` language and has a f
## Configuration

```lua
require("nvim-paredit").setup({
paredit = require("nvim-paredit");
paredit.setup({
-- should plugin use default keybindings? (default = true)
use_default_keys = true,
-- sometimes user wants to restrict plugin to certain file types only
Expand Down Expand Up @@ -105,25 +106,25 @@ require("nvim-paredit").setup({

-- These are text object selection keybindings which can used with standard `d, y, c`, `v`
["af"] = {
api.select_around_form,
paredit.api.select_around_form,
"Around form",
repeatable = false,
mode = { "o", "v" }
},
["if"] = {
api.select_in_form,
paredit.api.select_in_form,
"In form",
repeatable = false,
mode = { "o", "v" }
},
["ae"] = {
api.select_element,
paredit.api.select_element,
"Around element",
repeatable = false,
mode = { "o", "v" },
},
["ie"] = {
api.select_element,
paredit.api.select_element,
"Element",
repeatable = false,
mode = { "o", "v" },
Expand Down

0 comments on commit 4a1227f

Please sign in to comment.