aznhe21 / actions-preview.nvim

Fully customizable previewer for LSP code actions.
GNU General Public License v3.0
365 stars 9 forks source link

Support for previewing diff using external commands #26

Closed aznhe21 closed 6 months ago

aznhe21 commented 6 months ago

actions-preview-delta

This PR adds previewing of diff using external commands with it disabled by default. You can enable the feature with a setting like this.

local hl = require("actions-preview.highlight")
require("actions-preview").setup {
  highlight_command = {
    hl.delta("delta --no-gitconfig --side-by-side"),
  },
}

Close #22.