diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 2d28238be60..a376d17918d 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,8 +1,9 @@ COMMENT-main= vi clone, many additional features COMMENT-lang= vi clone, NLS subpackage -# careful with PLISTs if updating -V= 9.0.0976 +# careful with PLISTs if updating; it usually works best if you use +# a gui flavour rather than no_x11 +V= 9.0.1151 GH_ACCOUNT= vim GH_PROJECT= vim GH_TAGNAME= v$V @@ -67,7 +68,7 @@ MAKE_FLAGS+= STRIP=: .if ${FLAVOR:Mlua} MODULES+= lang/lua -MODLUA_VERSION= 5.1 +MODLUA_VERSION= 5.3 CONFIGURE_ENV+= vi_cv_path_plain_lua=${MODLUA_BIN} CONFIGURE_ARGS+= --enable-luainterp \ --with-lua-prefix=${LOCALBASE} @@ -82,11 +83,9 @@ WANTLIB+= perl .if ${FLAVOR:Mpython3} MODULES+= lang/python -MODPY_MAJOR_VERSION = 3 CONFIGURE_ENV+= vi_cv_path_python3=${MODPY_BIN} CONFIGURE_ARGS+= --enable-python3interp=yes \ - --enable-pythoninterp=no \ - --with-python3-config-dir=${MODPY_LIBDIR}/config-${MODPY_VERSION}m + --enable-pythoninterp=no LIB_DEPENDS+= ${MODPY_LIB_DEPENDS} WANTLIB+= ${MODPY_WANTLIB} .endif diff --git a/editors/vim/distinfo b/editors/vim/distinfo index e45e3730060..62d95661c54 100644 --- a/editors/vim/distinfo +++ b/editors/vim/distinfo @@ -1,4 +1,4 @@ -SHA256 (vim-9.0.0976.tar.gz) = wwdjOn5jkFguQbI0y6g9gJeG9YYsib8qQCROxfgL/aw= +SHA256 (vim-9.0.1151.tar.gz) = 0Y2lWTtsd+/MVGPDmFNaPEelAKleCsxV3wMxQIfzyGc= SHA256 (vim-colorschemes-20220522.tar.gz) = ZLEncSHAesz6zZtKXY0zromtzA86ebdfJtLzpUxjMOw= -SIZE (vim-9.0.0976.tar.gz) = 16840393 +SIZE (vim-9.0.1151.tar.gz) = 16922895 SIZE (vim-colorschemes-20220522.tar.gz) = 66041 diff --git a/editors/vim/patches/patch-runtime_filetype_vim b/editors/vim/patches/patch-runtime_filetype_vim index ad8dd95fba4..392b61cdbd9 100644 --- a/editors/vim/patches/patch-runtime_filetype_vim +++ b/editors/vim/patches/patch-runtime_filetype_vim @@ -10,7 +10,7 @@ Index: runtime/filetype.vim au BufNewFile,BufRead *.patch \ if getline(1) =~# '^From [0-9a-f]\{40,\} Mon Sep 17 00:00:00 2001$' | \ setf gitsendemail | -@@ -1158,7 +1158,7 @@ au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases +@@ -1165,7 +1165,7 @@ au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases au BufNewFile,BufRead .mailcap,mailcap setf mailcap " Makefile diff --git a/editors/vim/patches/patch-runtime_syntax_fstab_vim b/editors/vim/patches/patch-runtime_syntax_fstab_vim index 34f4847cb2f..a7126236dd1 100644 --- a/editors/vim/patches/patch-runtime_syntax_fstab_vim +++ b/editors/vim/patches/patch-runtime_syntax_fstab_vim @@ -1,12 +1,26 @@ +recognise wxallowed as a keyword + +don't highlight device-node errors, the fsDeviceError regex trips on +our duid format in /etc/fstab + Index: runtime/syntax/fstab.vim --- runtime/syntax/fstab.vim.orig +++ runtime/syntax/fstab.vim -@@ -141,7 +141,7 @@ syn match fsOptionsKeywords contained /\<\%(dir\|file\ - syn match fsOptionsKeywords contained /\<\%(session\|part\)=/ nextgroup=fsOptionsNumber +@@ -34,7 +34,7 @@ syn match fsOperator /[,=:#]/ + + " Device + syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError +-syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained ++"syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained + syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs + syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel + syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID +@@ -221,7 +221,7 @@ syn match fsOptionsKeywords contained /\<\%(prjjquota\ + syn keyword fsOptionsKeyWords contained gc_merge nogc_merge disable_roll_forward no_heap disable_ext_identify inline_xattr noinline_xattr inline_data noinline_data inline_dentry noinline_dentry flush_merge fastboot extent_cache noextent_cache data_flush offusrjquota offgrpjquota offprjjquota test_dummy_encryption checkpoint_merge nocheckpoint_merge compress_chksum compress_cache inlinecrypt atgc " Options: ffs -syn keyword fsOptionsKeyWords contained noperm softdep +syn keyword fsOptionsKeyWords contained noperm softdep wxallowed - " Options: hpfs - syn match fsOptionsKeywords contained /\