387387--- @field preview_buffer ? NeogitConfigPopup Preview options
388388--- @field popup ? NeogitConfigPopup Set the default way of opening popups
389389--- @field signs ? NeogitConfigSigns Signs used for toggled regions
390- --- @field integrations ? { diffview : boolean , vscode_diff : boolean , telescope : boolean , fzf_lua : boolean , mini_pick : boolean , snacks : boolean } Which integrations to enable
391- --- @field diff_viewer ? " diffview" | " vscode_diff " | nil Which diff viewer to use (nil = auto-detect )
390+ --- @field integrations ? { diffview : boolean , codediff : boolean , telescope : boolean , fzf_lua : boolean , mini_pick : boolean , snacks : boolean } Which integrations to enable
391+ --- @field diff_viewer ? " diffview" | " codediff " | nil Which diff viewer to use (nil = auto-detect )
392392--- @field sections ? NeogitConfigSections
393393--- @field ignored_settings ? string[] Settings to never persist , format : " Filetype--cli-value" , i.e. " NeogitCommitPopup--author"
394394--- @field mappings ? NeogitConfigMappings
@@ -541,7 +541,7 @@ function M.get_default_values()
541541 integrations = {
542542 telescope = nil ,
543543 diffview = nil ,
544- vscode_diff = nil ,
544+ codediff = nil ,
545545 fzf_lua = nil ,
546546 mini_pick = nil ,
547547 snacks = nil ,
@@ -864,7 +864,7 @@ function M.validate_config()
864864 return
865865 end
866866
867- local valid_viewers = { " diffview" , " vscode_diff " }
867+ local valid_viewers = { " diffview" , " codediff " }
868868 if not vim .tbl_contains (valid_viewers , config .diff_viewer ) then
869869 err (
870870 " diff_viewer" ,
@@ -878,7 +878,7 @@ function M.validate_config()
878878 end
879879
880880 local function validate_integrations ()
881- local valid_integrations = { " diffview" , " vscode_diff " , " telescope" , " fzf_lua" , " mini_pick" , " snacks" }
881+ local valid_integrations = { " diffview" , " codediff " , " telescope" , " fzf_lua" , " mini_pick" , " snacks" }
882882 if not validate_type (config .integrations , " integrations" , " table" ) or # config .integrations == 0 then
883883 return
884884 end
@@ -1331,7 +1331,7 @@ function M.check_integration(name)
13311331end
13321332
13331333--- Returns the configured diff viewer, or auto-detects if not set
1334- --- @return string | nil The diff viewer to use (" diffview" , " vscode_diff " ), or nil if none available
1334+ --- @return string | nil The diff viewer to use (" diffview" , " codediff " ), or nil if none available
13351335function M .get_diff_viewer ()
13361336 local logger = require (" neogit.logger" )
13371337 local viewer = M .values .diff_viewer
0 commit comments