Skip to content

Commit

Permalink
Merge pull request #4 from jan-xyz/make_edits_selectable_2
Browse files Browse the repository at this point in the history
Make individual edits selectable
  • Loading branch information
Jan Steinke authored Apr 6, 2024
2 parents 1526d0b + e1d3cf1 commit f343fcd
Show file tree
Hide file tree
Showing 9 changed files with 354 additions and 294 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ lazy.nvim:
dependencies = {
"nvim-telescope/telescope.nvim",
"nvim-lua/plenary.nvim",
{
"echasnovski/mini.nvim",
config = function()
require("mini.diff").setup({})
end,
},
},
}
```
Expand Down Expand Up @@ -60,10 +66,6 @@ require("lsp-preview").setup({
apply = true,
--Preview all changes per default.
preview = false,
--Configuration provided to vim.diff (see `:h vim.diff()`)
diff = {
ctxlen = 5,
},
})
```

Expand Down
5 changes: 0 additions & 5 deletions lua/lsp-preview/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ local M = {}
---@field apply boolean
---Preview all changes per default.
---@field previe boolean
---Configuration provided to vim.diff (see `:h vim.diff()`)
---@field diff table
local default_config = {
apply = true,
preview = false,
diff = {
ctxlen = 5,
},
}


Expand Down
Loading

0 comments on commit f343fcd

Please sign in to comment.