Mercurial > vim
view runtime/syntax/upstreaminstalllog.vim @ 32782:abf161ce0c77 v9.0.1707
patch 9.0.1707: Cannot wrap around in popup_filter_menu()
Commit: https://github.com/vim/vim/commit/badeedd913d9d6456ad8087911d024fd36800743
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Aug 13 19:25:28 2023 +0200
patch 9.0.1707: Cannot wrap around in popup_filter_menu()
Problem: Cannot wrap around in popup_filter_menu()
Solution: Allow to wrap around by default
Currently, it is not possible, to wrap around at the end of the list
using e.g. down (and go back to the top) or up at the beginning of the
list and go directly to the last item. This is not consistent behaviour
with e.g. how the pum-menu currently works, so let's just allow this.
Also adjust tests about it.
closes: #12689
closes: #12693
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Aug 2023 19:30:04 +0200 |
parents | ceb5f21cda79 |
children |
line wrap: on
line source
" Vim syntax file " Language: Innovation Data Processing UPSTREAMInstall.log file " Maintainer: Rob Owens <rowens@fdrinnovation.com> " Latest Revision: 2013-06-17 " Quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " Date: syn match upstreaminstalllog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/ " Msg Types: syn match upstreaminstalllog_MsgD /Msg #MSI\d\{4,5}D/ syn match upstreaminstalllog_MsgE /Msg #MSI\d\{4,5}E/ syn match upstreaminstalllog_MsgI /Msg #MSI\d\{4,5}I/ syn match upstreaminstalllog_MsgW /Msg #MSI\d\{4,5}W/ " IP Address: syn match upstreaminstalllog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/ hi def link upstreaminstalllog_Date Underlined hi def link upstreaminstalllog_MsgD Type hi def link upstreaminstalllog_MsgE Error hi def link upstreaminstalllog_MsgW Constant hi def link upstreaminstalllog_IPaddr Identifier let b:current_syntax = "upstreaminstalllog"