Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in lua default config file sample #31

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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");
julienvincent marked this conversation as resolved.
Show resolved Hide resolved
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