Skip to content

Commit

Permalink
fix(readme): add lua in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitmee authored and axkirillov committed Feb 4, 2023
1 parent acfb53a commit 3f6af7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Easypick is a neovim plugin that lets you easily create Telescope pickers (see [

# installation

```
```lua
use {'axkirillov/easypick.nvim', requires = 'nvim-telescope/telescope.nvim'}
```

# configuration
```
```lua
local easypick = require("easypick")

-- only required for the example to work
Expand All @@ -32,13 +32,13 @@ easypick.setup({
previewer = easypick.previewers.default()
},

-- diff current branch with base_branch and show files that changed with respective diffs in preview
-- diff current branch with base_branch and show files that changed with respective diffs in preview
{
name = "changed_files",
command = "git diff --name-only $(git merge-base HEAD " .. base_branch .. " )",
previewer = easypick.previewers.branch_diff({base_branch = base_branch})
},

-- list files that have conflicts with diffs in preview
{
name = "conflicts",
Expand Down

0 comments on commit 3f6af7b

Please sign in to comment.