Skip to content

Commit

Permalink
Add ":Floggit --focus" deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Sep 4, 2024
1 parent 246430a commit 6e8f2dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/flog/cmd/floggit/args.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function! flog#cmd#floggit#args#Parse(args) abort
elseif l:arg ==# '-t'
let l:flags.t = v:true
let l:is_flag = v:true
elseif l:arg ==# '--focus' || l:arg ==# '-f'
call flog#deprecate#ShowWarning(':Floggit --focus', '":Floggit" (keeps focus by default) or ":Floggit --blur" (returns focus to Flog)')
else
call add(l:git_args, l:arg)

Expand Down

0 comments on commit 6e8f2dd

Please sign in to comment.