Skip to content

Commit

Permalink
show deprecation warning for Np
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchrish committed Aug 11, 2021
1 parent 74e2f39 commit 40ea24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/nnn.vim
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ if g:nnn#replace_netrw
endif

command! -bar -nargs=? -complete=dir NnnPicker call nnn#pick(<f-args>)
command! -bar -nargs=? -complete=dir Np call nnn#pick(<f-args>)
command! -bar -nargs=? -complete=dir Np echohl WarningMsg | echom 'Np is deprecated in favor of NnnPicker' | echohl None | call nnn#pick(<f-args>)

" vim: set sts=4 sw=4 ts=4 et :

0 comments on commit 40ea24a

Please sign in to comment.