[vim] 03/03: vim-tiny: Set vi alternative's priority to 15

James McCoy jamessan at debian.org
Wed Oct 5 01:50:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit d5911935de0afe24f7326dd63c94bff525593252
Author: James McCoy <jamessan at debian.org>
Date:   Tue Oct 4 21:46:29 2016 -0400

    vim-tiny: Set vi alternative's priority to 15
    
    e3vi is the only other vi alternative at priority 10, but it is less
    featureful than vim-tiny.  Most other vi alternatives are at priority
    20.  This still maintains the behavior of vim-tiny being deferential to
    other vi implementations which are on-par or more featureful.
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog            | 2 ++
 debian/vim-variant.postinst | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9cbc708..6ffb1bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ vim (2:8.0.0003-2) UNRELEASED; urgency=medium
     (Closes: #837761)
   * Update vim-tiny patch to not source defaults.vim when vim.tiny is invoked
     as vi.
+  * Bump priority of vim-tiny's vi alternative, so it's higher than e3vi.
+    (Closes: #839265)
 
  -- James McCoy <jamessan at debian.org>  Tue, 27 Sep 2016 22:02:22 -0400
 
diff --git a/debian/vim-variant.postinst b/debian/vim-variant.postinst
index ff5f050..de433d2 100644
--- a/debian/vim-variant.postinst
+++ b/debian/vim-variant.postinst
@@ -39,7 +39,7 @@ add_gui_variant_alternative () {
 
 case "$pkg" in
   vim-tiny)
-    add_variant_alternative 10
+    add_variant_alternative 15
     ;;
   vim)
     add_variant_alternative 30

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list