-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
When using Fall file, matched text in path parts of the candidate list does not show the highlight effect settings in vimrc.
Current behavior
Even if input text matches some parts of the path, the matched parts does not show the highlight effect. Only the file names are highlighted.
Current behavior example:
Image
(deno is not highlighted in denops/fall)
Expected behavior
When input text matches parts of paths, I expect the matched parts of the paths to be highlighted.
Expected behavior example (hard-coded to show intended behavior):
Image
Steps to reproduce
-
Open vim with the following minimal vimrc in this project directory:
vim -u vimrc -N
-
Invoke
:Fall file. -
Input some text that is a substring of a path.
Minimal vimrc settings
let s:plugin_root_dir = '~/.vim/plugin_dir' let &runtimepath .= ',' . s:plugin_root_dir . '/vim-plug' call plug#begin(s:plugin_root_dir) Plug 'cocopon/iceberg.vim' Plug 'vim-denops/denops.vim' Plug 'vim-fall/fall.vim' call plug#end() set termguicolors set background=dark colorscheme iceberg function! s:customize_fall_style() abort hi link FallListSelected Title hi link FallListMatch Title endfunction augroup my_fall_style autocmd! autocmd ColorScheme * call s:customize_fall_style() augroup END call s:customize_fall_style()
Note
With default fall.vim settings, the matched parts in the selected line is difficult to see with some colorschemes. Highlights may not be displayed as expected.
Default settings example (the hi link ... lines in the above vimrc are commented out):
Image