Mercurial > vim
view runtime/ftplugin/chicken.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 | 29ec2c198c8d |
children | 738ff39db93f |
line wrap: on
line source
" CHICKEN-specific Vim customizations " Last Change: 2018-03-05 " Author: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org> " Repository: https://git.foldling.org/vim-scheme.git " URL: https://foldling.org/vim/ftplugin/chicken.vim " Notes: These are supplemental settings, to be loaded after the core " Scheme ftplugin file (ftplugin/scheme.vim). Enable it by setting " b:is_chicken=1 and filetype=scheme. if !exists('b:did_scheme_ftplugin') finish endif setl keywordprg=chicken-doc setl lispwords+=and-let* setl lispwords+=compiler-typecase setl lispwords+=condition-case setl lispwords+=define-compiler-syntax setl lispwords+=define-constant setl lispwords+=define-external setl lispwords+=define-for-syntax setl lispwords+=define-foreign-type setl lispwords+=define-inline setl lispwords+=define-location setl lispwords+=define-record setl lispwords+=define-record-printer setl lispwords+=define-specialization setl lispwords+=fluid-let setl lispwords+=foreign-lambda* setl lispwords+=foreign-primitive setl lispwords+=foreign-safe-lambda* setl lispwords+=functor setl lispwords+=handle-exceptions setl lispwords+=let-compiler-syntax setl lispwords+=let-location setl lispwords+=let-optionals setl lispwords+=let-optionals* setl lispwords+=letrec-values setl lispwords+=match setl lispwords+=match-let setl lispwords+=match-let* setl lispwords+=match-letrec setl lispwords+=module setl lispwords+=receive setl lispwords+=set!-values setl lispwords+=test-group let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' if exists('g:loaded_matchit') && !exists('b:match_words') let b:match_words = '#>:<#' let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words' endif