Skip to content

Commit

Permalink
update to vim-8.2.5036
Browse files Browse the repository at this point in the history
this includes new colour schemes. they aim to be more consistent in
different environments (e.g. between text and gui versions), but
in some cases significantly change what people are familiar with.

a copy of the old colour schemes is installed under the "legacy"
directory to make it easier to revert if desired. you can either use
them directly in config, or (probably better if you share config
files between machines) copy the relevant files from
/usr/local/share/vim/vim82/colors/legacy to ~/.vim/colors
which take priority.

for more information, see
https://github.com/vim/colorschemes
vim/vim#10449 (comment)
  • Loading branch information
sthen committed May 28, 2022
1 parent 73363c0 commit 3a6f08d
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 7,217 deletions.
20 changes: 19 additions & 1 deletion editors/vim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ COMMENT-main= vi clone, many additional features
COMMENT-lang= vi clone, NLS subpackage

# if updating, regen plists with a gui flavour so -lang isn't messed up
V= 8.2.4981
V= 8.2.5036
GH_ACCOUNT= vim
GH_PROJECT= vim
GH_TAGNAME= v$V

MASTER_SITES0= https://github.com/vim/colorschemes/archive/
DISTFILES= ${GH_DISTFILE} \
vim-colorschemes-20220522{9d3d216b72dd77a2ce4c27e8746708b916864645}.tar.gz:0

T= ${V:C/\.0+/./}
PKGNAME= vim-$T
FULLPKGNAME-lang= vim-lang-$T
Expand Down Expand Up @@ -139,6 +143,20 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/vim/vimfiles/{doc,syntax}
${INSTALL_DATA} ${FILESDIR}/openbsd.vim \
${PREFIX}/share/vim/vimfiles/syntax/
# the new colour schemes are more consistent in different
# environments, but in some cases significantly change what
# people are familiar with.
# https://github.com/vim/colorschemes
# https://github.com/vim/vim/issues/10449#issuecomment-1140195027=
#
# install a copy of the legacy colour schemes under a different
# directory to make it easier to revert if desired.
# you can either use directly in config, or copy the relevant
# files to .vim/colors which take priority over the files
# in /usr/local/share/vim.
${INSTALL_DATA_DIR} ${PREFIX}/share/vim/${P}/colors/legacy
${INSTALL_DATA} ${WRKDIR}/colorschemes-*/legacy_colors/* \
${PREFIX}/share/vim/${P}/colors/legacy

.if ! ${FLAVOR:Mno_x11}
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
Expand Down
6 changes: 4 additions & 2 deletions editors/vim/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SHA256 (vim-8.2.4981.tar.gz) = 0ecsFJumfHGia3qBOfj1OYiyMqN8ajWoRz/qw85rkLg=
SIZE (vim-8.2.4981.tar.gz) = 16447506
SHA256 (vim-8.2.5036.tar.gz) = YRD2gkXGDj70qyzFpLc2lLGw5BqLHn3ThG9bzuYbfL8=
SHA256 (vim-colorschemes-20220522.tar.gz) = ZLEncSHAesz6zZtKXY0zromtzA86ebdfJtLzpUxjMOw=
SIZE (vim-8.2.5036.tar.gz) = 16493540
SIZE (vim-colorschemes-20220522.tar.gz) = 66041
500 changes: 0 additions & 500 deletions editors/vim/patches/patch-runtime_colors_blue_vim

This file was deleted.

533 changes: 0 additions & 533 deletions editors/vim/patches/patch-runtime_colors_darkblue_vim

This file was deleted.

393 changes: 0 additions & 393 deletions editors/vim/patches/patch-runtime_colors_delek_vim

This file was deleted.

Loading

0 comments on commit 3a6f08d

Please sign in to comment.